X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-accept.c;h=265ef6493bd49b6daf6e9967eb45ea1afe13e597;hb=25b6b5120113989e0b91de9d0b75d3d625bbc753;hp=c4cef4708dbd679e6f98f9f752e7266ccaba769c;hpb=b3af5748122ca351ab7672d4cd069568dd52200b;p=gnulib.git diff --git a/tests/test-accept.c b/tests/test-accept.c index c4cef4708..265ef6493 100644 --- a/tests/test-accept.c +++ b/tests/test-accept.c @@ -1,5 +1,5 @@ /* Test accepting a connection to a server socket. - Copyright (C) 2011 Free Software Foundation, Inc. + Copyright (C) 2011-2012 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 @@ -24,11 +24,14 @@ SIGNATURE_CHECK (accept, int, (int, struct sockaddr *, socklen_t *)); #include #include +#include "sockets.h" #include "macros.h" int main (void) { + (void) gl_sockets_startup (SOCKETS_1_1); + /* Test behaviour for invalid file descriptors. */ { struct sockaddr_in addr;