summaryrefslogtreecommitdiffstats
path: root/src/pulse
diff options
context:
space:
mode:
Diffstat (limited to 'src/pulse')
-rw-r--r--src/pulse/context.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/pulse/context.c b/src/pulse/context.c
index 0150204c..efc1685b 100644
--- a/src/pulse/context.c
+++ b/src/pulse/context.c
@@ -33,8 +33,6 @@
#include <errno.h>
#include <signal.h>
#include <limits.h>
-#include <sys/socket.h>
-#include <sys/un.h>
#ifdef HAVE_SYS_WAIT_H
#include <sys/wait.h>
@@ -43,6 +41,9 @@
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
+#ifdef HAVE_SYS_UN_H
+#include <sys/un.h>
+#endif
#ifdef HAVE_NETDB_H
#include <netdb.h>
#endif