summaryrefslogtreecommitdiff
path: root/source3
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
commit1107dc4c4f99936129f1459625857976e1b1ddd4 (patch)
treea429f35a52d7ee6c01807316cbb44991c3d535be /source3
parent9019718582850e20d3e1506b020116e8b2cb2016 (diff)
downloadsamba-1107dc4c4f99936129f1459625857976e1b1ddd4.tar.gz
samba-1107dc4c4f99936129f1459625857976e1b1ddd4.tar.bz2
samba-1107dc4c4f99936129f1459625857976e1b1ddd4.zip
added sys/wait.h to fcntl_lock test
(This used to be commit ed151605e57b7db3457cdf0c87f71c86e84c8f5b)
Diffstat (limited to 'source3')
-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)