diff options
author | Pierre Ossman <ossman@cendio.se> | 2006-07-20 00:13:12 +0000 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2006-07-20 00:13:12 +0000 |
commit | 7ba93ebae21742522bfe430e229a859370a888d1 (patch) | |
tree | e5361e718fd2465417cedc85201f2fbeaf7978a4 /src/pulse/context.c | |
parent | 2ad69389d4a584a1058474341ee959c6cfc070a2 (diff) |
Protect platform dependent headers with ifdefs.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1112 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/pulse/context.c')
-rw-r--r-- | src/pulse/context.c | 5 |
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 |