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 1144726..3eca0c8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 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.
        * tests/test-select-in.sh: New file.
        * tests/test-select-out.sh: New file.
index e4cdd7e..84d8f1b 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