summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/creds.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pulsecore/creds.h')
-rw-r--r--src/pulsecore/creds.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/pulsecore/creds.h b/src/pulsecore/creds.h
index a2acae04..d92ce598 100644
--- a/src/pulsecore/creds.h
+++ b/src/pulsecore/creds.h
@@ -24,6 +24,16 @@
#include <sys/types.h>
+/* config.h must be included before this file */
+
+#ifdef HAVE_SYS_SOCKET_H
+#include <sys/socket.h>
+#endif
+
+#ifdef HAVE_SYS_UN_H
+#include <sys/un.h>
+#endif
+
typedef struct pa_creds pa_creds;
#if defined(SCM_CREDENTIALS)