Fixed windows build.

This commit is contained in:
irungentoo 2013-09-24 07:56:06 -04:00
parent b0149318fa
commit 05a3851e43

View File

@ -36,6 +36,13 @@
#include <windows.h> #include <windows.h>
#include <ws2tcpip.h> #include <ws2tcpip.h>
typedef INT sa_family_t;
#ifndef true
#define true 1
#endif
#ifndef false
#define false 0
#endif
#else #else
#include <netinet/ip.h> #include <netinet/ip.h>