summaryrefslogtreecommitdiff
path: root/modules/poll-tests
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2008-09-12 16:12:44 +0200
committerPaolo Bonzini <bonzini@gnu.org>2008-09-12 16:57:24 +0200
commitb03b6bfb8daa20dceff4593229f0df2c68c37e6e (patch)
treed14d2a811d7243db3fc613a51214369e38ea9107 /modules/poll-tests
parentf9f61e25aee8cf75e4cf084c66e82993dbf35c47 (diff)
downloadgnulib-b03b6bfb8daa20dceff4593229f0df2c68c37e6e.tar.gz
port poll tests to Windows
2008-09-12 Paolo Bonzini <bonzini@gnu.org> * lib/sys_socket.in.h (EINPROGRESS): Define for Winsock case. * modules/poll-tests: Add inet_pton, stdbool, sockets. * tests/test-poll.c: Use them. Use _pipe on Windows.
Diffstat (limited to 'modules/poll-tests')
-rw-r--r--modules/poll-tests3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/poll-tests b/modules/poll-tests
index 1484aaa363..7c44a4883e 100644
--- a/modules/poll-tests
+++ b/modules/poll-tests
@@ -2,10 +2,13 @@ Files:
tests/test-poll.c
Depends-on:
+stdbool
sys_socket
netinet_in
arpa_inet
extensions
+inet_pton
+sockets
configure.ac:
AC_CHECK_HEADERS_ONCE([io.h unistd.h sys/wait.h])