bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

test-select.c warning


From: Bruno Haible
Subject: test-select.c warning
Date: Sat, 8 Nov 2008 14:49:43 +0100
User-agent: KMail/1.5.4

Hi Paolo,

Compiling the testdir for module 'select'
   ./gnulib-tool --create-testdir --dir=... --with-tests select
on Linux, with -Wall, yields this warning:

test-select.c: Dans la fonction « test_accept_first »:
test-select.c:289: Warnung: implicit declaration of function `wait'

I'm applying this fix (like in the poll-tests module):


2008-11-07  Bruno Haible  <address@hidden>

        * modules/select-tests (configure.ac): Check for unistd.h, sys/wait.h.

--- modules/select-tests.orig   2008-11-08 14:47:58.000000000 +0100
+++ modules/select-tests        2008-11-08 14:46:33.000000000 +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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]