]> code.delx.au - pulseaudio/blobdiff - polyp/module-protocol-stub.c
Merge Pierre's changes
[pulseaudio] / polyp / module-protocol-stub.c
index 15697582e279491c14ec9465150cb8765593f8d4..141eadd390f8a047b8afc770c16ddfb8902e5359 100644 (file)
 #include <errno.h>
 #include <stdio.h>
 #include <assert.h>
-#include <arpa/inet.h>
 #include <unistd.h>
+#include <limits.h>
+
+#ifdef HAVE_SYS_SOCKET_H
+#include <sys/socket.h>
+#endif
+#ifdef HAVE_ARPA_INET_H
+#include <arpa/inet.h>
+#endif
+#ifdef HAVE_NETINET_IN_H
 #include <netinet/in.h>
+#endif
+
+#include "winsock.h"
 
 #include "module.h"
 #include "socket-server.h"