tests: waitpid requires sys/wait.h
authorSimon Wilkinson <sxw@your-file-system.com>
Sun, 8 Apr 2012 22:31:25 +0000 (18:31 -0400)
committerDerrick Brashear <shadow@dementix.org>
Mon, 9 Apr 2012 01:24:58 +0000 (18:24 -0700)
Calling waitpid requires the sys/wait.h header to be included to
guarantee that the prototype is enabled.

Change-Id: I2d845236347d1be46cd750c2e766b305a64cde53
Reviewed-on: http://gerrit.openafs.org/7128
Reviewed-by: Derrick Brashear <shadow@dementix.org>
Tested-by: Derrick Brashear <shadow@dementix.org>

tests/volser/vos-t.c

index e1ffec6..e74f473 100644 (file)
@@ -3,6 +3,8 @@
 
 #include <roken.h>
 
+#include <sys/wait.h>
+
 #include <rx/rx.h>
 #include <ubik.h>