diff options
author | Pierre Ossman <ossman@cendio.se> | 2006-01-10 09:14:41 +0000 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2006-01-10 09:14:41 +0000 |
commit | 357ab88ab55ede0e5a1173ce7b7a727ba3204087 (patch) | |
tree | 1d94c62c431876490f800cb5ee0e5514f04bf506 | |
parent | 5e5808ab08cacb7bff8ab2df584f2d0f3af0fca9 (diff) |
Make sure socklen_t is defined.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/ossman@436 fefdeb5f-60dc-0310-8127-8f9354f1896f
-rw-r--r-- | polyp/inet_ntop.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/polyp/inet_ntop.h b/polyp/inet_ntop.h index 11bc6112..7fb67b44 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 <sys/socket.h> +#endif + +#include "winsock.h" + const char *inet_ntop(int af, const void *src, char *dst, socklen_t cnt); #endif |