Ensure tests/test-select.c includes <unistd.h> and <sys/wait.h> on Unix.
authorBruno Haible <bruno@clisp.org>
Sat, 8 Nov 2008 13:48:57 +0000 (14:48 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 8 Nov 2008 13:48:57 +0000 (14:48 +0100)
ChangeLog
modules/select-tests

index 1144726dae1e184831c9dbdaaae8c0d042d50e69..3eca0c89faa8d1224284b16cfab816cef7034f68 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-11-07  Bruno Haible  <bruno@clisp.org>
+
+       * modules/select-tests (configure.ac): Check for unistd.h, sys/wait.h.
+
 2008-11-07  Bruno Haible  <bruno@clisp.org>
 
        * tests/test-select-fd.c: New file.
index e4cdd7e7841b21f7784ab5aa3c30a185c8044348..84d8f1bf09e169e7adb58614c476de715fc9e888 100644 (file)
@@ -26,6 +26,7 @@ close
 gettimeofday
 
 configure.ac:
+AC_CHECK_HEADERS_ONCE([unistd.h sys/wait.h])
 
 Makefile.am:
 TESTS += test-select test-select-in.sh test-select-out.sh