changeset 10772:7bba9893a5aa

Ensure tests/test-select.c includes <unistd.h> and <sys/wait.h> on Unix.
author Bruno Haible <bruno@clisp.org>
date Sat, 08 Nov 2008 14:48:57 +0100
parents 1ac304db6933
children f5c827c58c0d
files ChangeLog modules/select-tests
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sat Nov 08 14:32:20 2008 +0100
+++ b/ChangeLog	Sat Nov 08 14:48:57 2008 +0100
@@ -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.
--- a/modules/select-tests	Sat Nov 08 14:32:20 2008 +0100
+++ b/modules/select-tests	Sat Nov 08 14:48:57 2008 +0100
@@ -26,6 +26,7 @@
 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