* tests/test-accept.c: Include sockets.h.
(main): Invoke gl_sockets_startup.
* modules/accept-tests (Depends-on): Add sockets.
+2011-09-20 Bruno Haible <bruno@clisp.org>
+
+ accept tests: Fix for native Windows.
+ * tests/test-accept.c: Include sockets.h.
+ (main): Invoke gl_sockets_startup.
+ * modules/accept-tests (Depends-on): Add sockets.
+
2011-09-19 Bruno Haible <bruno@clisp.org>
msvc-inval: Require a semicolon after DONE_MSVC_INVAL.
Depends-on:
netinet_in
+sockets
configure.ac:
#include <errno.h>
#include <netinet/in.h>
+#include "sockets.h"
#include "macros.h"
int
main (void)
{
+ gl_sockets_startup (SOCKETS_1_1);
+
/* Test behaviour for invalid file descriptors. */
{
struct sockaddr_in addr;