diff --git a/polyp/inet_ntop.h b/polyp/inet_ntop.h index 11bc6112e..7fb67b442 100644 --- a/polyp/inet_ntop.h +++ b/polyp/inet_ntop.h @@ -1,6 +1,12 @@ #ifndef fooinet_ntophfoo #define fooinet_ntophfoo +#ifdef HAVE_SYS_SOCKET_H +#include +#endif + +#include "winsock.h" + const char *inet_ntop(int af, const void *src, char *dst, socklen_t cnt); #endif