mingw don't use arpa/inet.h (#2)

don't use arpa/inet.h in mingw
This commit is contained in:
Anime4000 2016-04-17 23:24:34 +09:00 committed by frekky
parent 8384da195d
commit 5dbe640ec5

View File

@ -27,7 +27,6 @@
#include <ctype.h> #include <ctype.h>
#include <fcntl.h> #include <fcntl.h>
#include <time.h> #include <time.h>
#include <arpa/inet.h>
#ifdef WINDOWS32 #ifdef WINDOWS32
#include "windows.h" #include "windows.h"
@ -36,6 +35,7 @@
#include <grp.h> #include <grp.h>
#include <pwd.h> #include <pwd.h>
#include <netdb.h> #include <netdb.h>
#include <arpa/inet.h>
#endif #endif
#include "common.h" #include "common.h"