aboutsummaryrefslogtreecommitdiffstats
path: root/src/vcl/vcom_glibc_socket.h
diff options
context:
space:
mode:
authorDave Wallace <dwallacelf@gmail.com>2017-11-07 02:20:07 -0500
committerFlorin Coras <florin.coras@gmail.com>2017-11-07 08:40:57 +0000
commit5917939256af392914d8a648de0c3287042ddbf6 (patch)
tree6e22c50d626bc999df401d8f19ab956378891e55 /src/vcl/vcom_glibc_socket.h
parentbfc29ba442dbb65599f29fe5aa44c6219ed0d3a8 (diff)
VCL-LDPRELOAD: enable accept4() wrapper
Change-Id: I56567953fb8329315393047913e30fc7f2242bdb Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Diffstat (limited to 'src/vcl/vcom_glibc_socket.h')
-rw-r--r--src/vcl/vcom_glibc_socket.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/vcl/vcom_glibc_socket.h b/src/vcl/vcom_glibc_socket.h
index 4eb60fb65c7..969029f3e63 100644
--- a/src/vcl/vcom_glibc_socket.h
+++ b/src/vcl/vcom_glibc_socket.h
@@ -249,7 +249,6 @@ extern int __THROW listen (int __fd, int __n);
extern int
accept (int __fd, __SOCKADDR_ARG __addr, socklen_t * __restrict __addr_len);
-#ifdef __USE_GNU
/* Similar to 'accept' but takes an additional parameter to specify flags.
This function is a cancellation point and therefore not marked with
@@ -258,7 +257,6 @@ accept (int __fd, __SOCKADDR_ARG __addr, socklen_t * __restrict __addr_len);
extern int
accept4 (int __fd, __SOCKADDR_ARG __addr,
socklen_t * __restrict __addr_len, int __flags);
-#endif
/* Shut down all or part of the connection open on socket FD.
HOW determines what to shut down: