]> code.delx.au - pulseaudio/blobdiff - src/pulsecore/creds.h
undo r1111 in some way: include sys/socket.h and sys/un.h but wrap it in #ifdef
[pulseaudio] / src / pulsecore / creds.h
index a2acae04bd0bd27bf96f98a6e4449b9f1839fa50..d92ce5989313daf02ad5d5fcf6178c24ce9fa177 100644 (file)
 
 #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)