]> err.no Git - varnish/commitdiff
Fix compilation problem on Solaris - missing include
authortfheen <tfheen@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 26 Feb 2009 08:36:28 +0000 (08:36 +0000)
committertfheen <tfheen@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 26 Feb 2009 08:36:28 +0000 (08:36 +0000)
Solaris appears to need #include <sys/wait.h> for WEXITSTATUS to be defined.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3828 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishtest/vtc.c

index 2bd12426af270b014c9b16445b12a6b321f5ec10..4e35d702c1947e8d023eaf7e48e4cba9e57491be 100644 (file)
@@ -36,6 +36,7 @@
 #include <fcntl.h>
 #include <stdlib.h>
 #include <unistd.h>
+#include <sys/wait.h>
 
 #include "libvarnish.h"
 #include "vsb.h"