diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2020-07-12 22:58:35 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2020-07-13 00:41:54 +0200 |
commit | 1c714312eb79d50d3ff29030b66babe71ef7fa4c (patch) | |
tree | 01f36b661769fe8b1c51c1a3511b6432c60843b8 | |
parent | Jenkins fixes (diff) | |
download | cuberite-1c714312eb79d50d3ff29030b66babe71ef7fa4c.tar cuberite-1c714312eb79d50d3ff29030b66babe71ef7fa4c.tar.gz cuberite-1c714312eb79d50d3ff29030b66babe71ef7fa4c.tar.bz2 cuberite-1c714312eb79d50d3ff29030b66babe71ef7fa4c.tar.lz cuberite-1c714312eb79d50d3ff29030b66babe71ef7fa4c.tar.xz cuberite-1c714312eb79d50d3ff29030b66babe71ef7fa4c.tar.zst cuberite-1c714312eb79d50d3ff29030b66babe71ef7fa4c.zip |
-rw-r--r-- | src/Globals.h | 13 | ||||
-rw-r--r-- | src/OSSupport/File.cpp | 2 |
2 files changed, 2 insertions, 13 deletions
diff --git a/src/Globals.h b/src/Globals.h index c0686c5b5..7af475816 100644 --- a/src/Globals.h +++ b/src/Globals.h @@ -148,20 +148,7 @@ template class SizeChecker<UInt8, 1>; #undef GetFreeSpace #endif // GetFreeSpace #else - #include <sys/types.h> - #include <sys/time.h> - #include <sys/socket.h> - #include <netinet/in.h> #include <arpa/inet.h> - #include <netdb.h> - #include <time.h> - #include <dirent.h> - #include <errno.h> - #include <iostream> - #include <cstring> - #include <pthread.h> - #include <semaphore.h> - #include <fcntl.h> #include <unistd.h> #endif diff --git a/src/OSSupport/File.cpp b/src/OSSupport/File.cpp index fc3ddbdeb..03d621a38 100644 --- a/src/OSSupport/File.cpp +++ b/src/OSSupport/File.cpp @@ -9,6 +9,8 @@ #include <fstream> #ifdef _WIN32 #include <share.h> // for _SH_DENYWRITE +#else + #include <dirent.h> #endif // _WIN32 |