From 357ab88ab55ede0e5a1173ce7b7a727ba3204087 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Tue, 10 Jan 2006 09:14:41 +0000 Subject: [PATCH] Make sure socklen_t is defined. git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/ossman@436 fefdeb5f-60dc-0310-8127-8f9354f1896f --- polyp/inet_ntop.h | 6 ++++++ 1 file changed, 6 insertions(+) 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