MinGW: Build fixes.

This commit is contained in:
Uwe Hermann 2011-02-02 13:13:13 +01:00
parent 22b0238344
commit a9f54bcd7b
2 changed files with 4 additions and 2 deletions

View File

@ -23,7 +23,7 @@
#include <fcntl.h>
#include <unistd.h>
#ifdef _WIN32
#include <conio.h>
#include <windows.h>
#else
#include <glob.h>
#include <termios.h>

View File

@ -24,7 +24,9 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#ifndef _WIN32
#ifdef _WIN32
#include <windows.h>
#else
#include <termios.h>
#endif
#include <string.h>