diff options
author | Pierre Ossman <ossman@cendio.se> | 2006-01-05 21:21:51 +0000 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2006-01-05 21:21:51 +0000 |
commit | 268aebb2e44d772e3cff25d40403a720f80abd09 (patch) | |
tree | e1fa339e4b69a79a76624a040f0bc7e01e32d777 /polyp/polyplib-context.c | |
parent | 8f3c364b4700c8e459269ff00dbe810503038639 (diff) |
Protect sys/wait.h with an ifdef.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/ossman@400 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp/polyplib-context.c')
-rw-r--r-- | polyp/polyplib-context.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/polyp/polyplib-context.c b/polyp/polyplib-context.c index f85c5a41..1b9d7de6 100644 --- a/polyp/polyplib-context.c +++ b/polyp/polyplib-context.c @@ -31,9 +31,12 @@ #include <unistd.h> #include <sys/stat.h> #include <errno.h> -#include <sys/wait.h> #include <signal.h> +#ifdef HAVE_SYS_WAIT_H +#include <sys/wait.h> +#endif + #ifdef HAVE_SYS_SOCKET_H #include <sys/socket.h> #endif |