diff --git a/src/netbase.cpp b/src/netbase.cpp index fc940b0501..6218162c26 100644 --- a/src/netbase.cpp +++ b/src/netbase.cpp @@ -22,8 +22,6 @@ #ifndef WIN32 #include -#else -#include #endif #ifdef USE_POLL diff --git a/src/util/sock.cpp b/src/util/sock.cpp index b6c2a47434..1a4d67a65e 100644 --- a/src/util/sock.cpp +++ b/src/util/sock.cpp @@ -10,12 +10,14 @@ #include #include -#include -#include -#include #include #include +#ifdef WIN32 +#include +#include +#endif + #ifdef USE_POLL #include #endif