]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
#include sys/wait.h under proper ifdef.
authorRamiro Polla <ramiro.polla@gmail.com>
Sun, 20 Jun 2010 21:03:59 +0000 (18:03 -0300)
committerJoel Rosdahl <joel@rosdahl.net>
Fri, 25 Jun 2010 08:33:56 +0000 (10:33 +0200)
execute.c

index 90b540e7d69384d46bc11c1e060253560865252e..6bbd5fc1d6a845e2331763723b3a3da4b125b15e 100644 (file)
--- a/execute.c
+++ b/execute.c
@@ -20,7 +20,9 @@
 
 #include <sys/types.h>
 #include <sys/stat.h>
+#ifdef HAVE_SYS_WAIT_H
 #include <sys/wait.h>
+#endif
 #include <fcntl.h>
 #include <stdio.h>
 #include <stdlib.h>