diff options
Diffstat (limited to 'src/vcl/sock_test_server.c')
-rw-r--r-- | src/vcl/sock_test_server.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vcl/sock_test_server.c b/src/vcl/sock_test_server.c index 753a7da790c..728a6a7a14e 100644 --- a/src/vcl/sock_test_server.c +++ b/src/vcl/sock_test_server.c @@ -304,6 +304,8 @@ new_client (void) -1.0 /* wait forever */ ); if (client_fd < 0) errno = -client_fd; +#elif HAVE_ACCEPT4 + client_fd = accept4 (ssm->listen_fd, (struct sockaddr *) NULL, NULL, NULL); #else client_fd = accept (ssm->listen_fd, (struct sockaddr *) NULL, NULL); #endif |