]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
added sys/wait.h to fcntl_lock test
authorAndrew Tridgell <tridge@samba.org>
Wed, 2 May 2001 06:54:52 +0000 (06:54 +0000)
committerAndrew Tridgell <tridge@samba.org>
Wed, 2 May 2001 06:54:52 +0000 (06:54 +0000)
source/tests/fcntl_lock.c

index 1f67679c8c7565ba6e65e1626e9f3a61fd86afc1..3cd0e5ff5edef780ba2daf0c46dcdf3af274012f 100644 (file)
 #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)