summaryrefslogtreecommitdiff
path: root/source3/tests/fcntl_lock.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/tests/fcntl_lock.c')
-rw-r--r--source3/tests/fcntl_lock.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/tests/fcntl_lock.c b/source3/tests/fcntl_lock.c
index 1f67679c8c..3cd0e5ff5e 100644
--- a/source3/tests/fcntl_lock.c
+++ b/source3/tests/fcntl_lock.c
@@ -16,6 +16,10 @@
#include <sys/fcntl.h>
#endif
+#ifdef HAVE_SYS_WAIT_H
+#include <sys/wait.h>
+#endif
+
#include <errno.h>
static int sys_waitpid(pid_t pid,int *status,int options)