[_WIN32]: Add io.h for isatty(). Required for MinGW.
This commit is contained in:
parent
65b1f94b3f
commit
c7546923e9
1 changed files with 3 additions and 1 deletions
|
@ -41,7 +41,9 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#if !defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
|
#include <io.h>
|
||||||
|
#else
|
||||||
#include <pwd.h>
|
#include <pwd.h>
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue