diff options
author | Bruno Haible <bruno@clisp.org> | 2009-08-02 16:43:55 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-08-03 22:01:26 +0200 |
commit | 7525ec925e94b992c31824d266fee528cebc1d16 (patch) | |
tree | 7bc965f3cdcdb82906703bd29d4ae40c10c11b54 /tests/test-poll.c | |
parent | 2ba450ef74f82b31d23754fe7137dc83e195bf41 (diff) | |
download | gnulib-7525ec925e94b992c31824d266fee528cebc1d16.tar.gz |
Implicitly initialize the sockets library.
Diffstat (limited to 'tests/test-poll.c')
-rw-r--r-- | tests/test-poll.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/test-poll.c b/tests/test-poll.c index 77b06d9928..d78698e4a5 100644 --- a/tests/test-poll.c +++ b/tests/test-poll.c @@ -1,5 +1,5 @@ /* Test of poll() function. - Copyright (C) 2008 Free Software Foundation, Inc. + Copyright (C) 2008-2009 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -30,7 +30,6 @@ #include <stdbool.h> #include <sys/ioctl.h> #include <errno.h> -#include "sockets.h" #if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ # define WIN32_NATIVE @@ -360,8 +359,6 @@ main () { int result; - gl_sockets_startup (SOCKETS_1_1); - #ifdef INTERACTIVE printf ("Please press Enter\n"); test (test_tty, "TTY"); |