From 0ff247db7303d7c452d62bcfc1291075f297dcbd Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 20 Jul 2006 00:52:44 +0000 Subject: undo r1111 in some way: include sys/socket.h and sys/un.h but wrap it in #ifdef HAVE_xxx_H. This should be safe because config.h should be the first included header in all .c files and creds.h is never included by any external tools git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1115 fefdeb5f-60dc-0310-8127-8f9354f1896f --- src/pulsecore/creds.h | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 +/* config.h must be included before this file */ + +#ifdef HAVE_SYS_SOCKET_H +#include +#endif + +#ifdef HAVE_SYS_UN_H +#include +#endif + typedef struct pa_creds pa_creds; #if defined(SCM_CREDENTIALS) -- cgit