summaryrefslogtreecommitdiffstats
path: root/source/tests
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-05-02 06:54:52 +0000
committerAndrew Tridgell <tridge@samba.org>2001-05-02 06:54:52 +0000
commited151605e57b7db3457cdf0c87f71c86e84c8f5b (patch)
treee69b1e80fdcf61fd0e820f58ec93aa976ac5621b /source/tests
parentdb5d38736d0d91acb55f4e4a67f33a2c0b5fdca3 (diff)
downloadsamba-ed151605e57b7db3457cdf0c87f71c86e84c8f5b.tar.gz
samba-ed151605e57b7db3457cdf0c87f71c86e84c8f5b.tar.xz
samba-ed151605e57b7db3457cdf0c87f71c86e84c8f5b.zip
added sys/wait.h to fcntl_lock test
Diffstat (limited to 'source/tests')
-rw-r--r--source/tests/fcntl_lock.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/tests/fcntl_lock.c b/source/tests/fcntl_lock.c
index 1f67679c8c7..3cd0e5ff5ed 100644
--- a/source/tests/fcntl_lock.c
+++ b/source/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)