Add additional includes for compiling in MinGW.

This commit is contained in:
Ron Koenderink 2007-08-17 20:45:55 +00:00
parent 3c7bb12c09
commit 1a3a7b9837

View file

@ -34,7 +34,12 @@
#ifndef UNISTD_H #ifndef UNISTD_H
#define UNISTD_H #define UNISTD_H
#include <io.h>
#include <stdio.h> #include <stdio.h>
#ifdef fileno
#undef fileno
#endif
#include "sys/socket.h"
#include "getopt.h" #include "getopt.h"
#include <sys/stat.h> #include <sys/stat.h>