Windows: include <io.h>.

if_csope.c uses _open_osfhandle so include the necessary header.
Futher we need <io.h> for read/write/close/lseek.

See: https://msdn.microsoft.com/en-us/library/bdts1c9x.aspx
This commit is contained in:
Rui Abreu Ferreira
2016-01-16 15:14:15 -05:00
committed by Seth Jackson
parent 55a345c3e7
commit 8099275082

View File

@@ -3,6 +3,7 @@
#include <windows.h> #include <windows.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <io.h>
#include <stdio.h> #include <stdio.h>
#define NAME_MAX _MAX_PATH #define NAME_MAX _MAX_PATH