1
0
Fork 0

Remove unnecessary includes

This commit is contained in:
Tiger Wang 2020-07-12 21:58:35 +01:00
parent 3cf671b4fc
commit 1c714312eb
2 changed files with 2 additions and 13 deletions

View File

@ -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

View File

@ -9,6 +9,8 @@
#include <fstream>
#ifdef _WIN32
#include <share.h> // for _SH_DENYWRITE
#else
#include <dirent.h>
#endif // _WIN32