Add additional includes for compiling in MinGW.
This commit is contained in:
parent
3c7bb12c09
commit
1a3a7b9837
1 changed files with 5 additions and 0 deletions
|
@ -34,7 +34,12 @@
|
|||
#ifndef UNISTD_H
|
||||
#define UNISTD_H
|
||||
|
||||
#include <io.h>
|
||||
#include <stdio.h>
|
||||
#ifdef fileno
|
||||
#undef fileno
|
||||
#endif
|
||||
#include "sys/socket.h"
|
||||
#include "getopt.h"
|
||||
#include <sys/stat.h>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue