2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-22 01:45:19 +01:00

filesystem: include errno.h for Win32

This commit is contained in:
Alibek Omarov 2024-08-17 17:32:50 +03:00
parent c13c1f2577
commit a6c7b67d0d

View File

@ -21,15 +21,14 @@ GNU General Public License for more details.
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <time.h> #include <time.h>
#include <errno.h>
#if XASH_WIN32 #if XASH_WIN32
#include <direct.h> #include <direct.h>
#include <io.h> #include <io.h>
#elif XASH_DOS4GW #elif XASH_DOS4GW
#include <direct.h> #include <direct.h>
#include <errno.h>
#else #else
#include <dirent.h> #include <dirent.h>
#include <errno.h>
#endif #endif
#include <stdio.h> #include <stdio.h>
#include <stdarg.h> #include <stdarg.h>