diff --git a/c/os_windows.c b/c/os_windows.c index 49b4ffc..c378350 100644 --- a/c/os_windows.c +++ b/c/os_windows.c @@ -2,6 +2,8 @@ #include +#include + #include #include #include @@ -13,13 +15,11 @@ #include #include #include -#include #include "dtypes.h" #include "utils.h" #include "utf8.h" #include "ios.h" -#include "socket.h" #include "timefuncs.h" #include "hashing.h" #include "htable.h" diff --git a/c/socket.c b/c/socket.c index f438fe0..59626c8 100644 --- a/c/socket.c +++ b/c/socket.c @@ -1,10 +1,15 @@ #include #include +#include #include +#include + #include #include +#include +#include #include #include #include diff --git a/c/socket.h b/c/socket.h index 58631d5..8f4118c 100644 --- a/c/socket.h +++ b/c/socket.h @@ -1,13 +1,3 @@ -#ifdef _WIN32 -#include -#else -#include -#include -#include -#include -#include -#endif - #ifndef _WIN32 void closesocket(int fd); #endif