diff options
Diffstat (limited to 'src/core/network.h')
-rw-r--r-- | src/core/network.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/network.h b/src/core/network.h index 613434c4..31817cdb 100644 --- a/src/core/network.h +++ b/src/core/network.h @@ -2,8 +2,10 @@ #define __NETWORK_H #include <sys/types.h> -#include <sys/socket.h> -#include <netinet/in.h> +#ifndef WIN32 +# include <sys/socket.h> +# include <netinet/in.h> +#endif struct _ipaddr { unsigned short family; |