diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/module-esound-sink.c | 2 | ||||
-rw-r--r-- | src/modules/module-protocol-stub.c | 5 |
2 files changed, 2 insertions, 5 deletions
diff --git a/src/modules/module-esound-sink.c b/src/modules/module-esound-sink.c index 0d04fff7..9eba8ac3 100644 --- a/src/modules/module-esound-sink.c +++ b/src/modules/module-esound-sink.c @@ -31,7 +31,6 @@ #include <fcntl.h> #include <unistd.h> #include <limits.h> -#include <sys/socket.h> #include <netinet/in.h> #include <netinet/tcp.h> #include <sys/ioctl.h> @@ -44,6 +43,7 @@ #include <pulse/timeval.h> #include <pulse/xmalloc.h> +#include <pulsecore/socket.h> #include <pulsecore/core-error.h> #include <pulsecore/iochannel.h> #include <pulsecore/sink.h> diff --git a/src/modules/module-protocol-stub.c b/src/modules/module-protocol-stub.c index e21186bb..7ba54054 100644 --- a/src/modules/module-protocol-stub.c +++ b/src/modules/module-protocol-stub.c @@ -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> |