Make sure socklen_t is defined.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/ossman@436 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Pierre Ossman 2006-01-10 09:14:41 +00:00
parent 5e5808ab08
commit 357ab88ab5

View file

@ -1,6 +1,12 @@
#ifndef fooinet_ntophfoo #ifndef fooinet_ntophfoo
#define 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); const char *inet_ntop(int af, const void *src, char *dst, socklen_t cnt);
#endif #endif