]> code.delx.au - pulseaudio/blobdiff - src/modules/module-protocol-stub.c
Use <pulsecore/socket.h> instead of <sys/socket.h>
[pulseaudio] / src / modules / module-protocol-stub.c
index e21186bbc9611e4f5369855de3bb3beeffe56b03..7ba540543b41356671fe3229c75c233814b920fc 100644 (file)
@@ -30,9 +30,6 @@
 #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
@@ -42,9 +39,9 @@
 
 #include <pulse/xmalloc.h>
 
-#include <pulsecore/winsock.h>
 #include <pulsecore/core-error.h>
 #include <pulsecore/module.h>
+#include <pulsecore/socket.h>
 #include <pulsecore/socket-server.h>
 #include <pulsecore/socket-util.h>
 #include <pulsecore/core-util.h>