summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-05-12 10:37:36 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-05-12 10:37:36 +0200
commit44100dac1138c480deabb72ee8e180544005dfd9 (patch)
treedf0fce9e5835ff954e0d3d79d015b0778ce41a51 /libc
parent3fb846d24c2b74f6dba36580315e1666eca015ee (diff)
linux_specific: handle accept4 and pipe2
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc')
-rw-r--r--libc/inet/Makefile.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/libc/inet/Makefile.in b/libc/inet/Makefile.in
index c490adf7e..d58822074 100644
--- a/libc/inet/Makefile.in
+++ b/libc/inet/Makefile.in
@@ -48,8 +48,7 @@ socketcalls_CSRC-y += \
accept.c bind.c connect.c getpeername.c getsockname.c \
getsockopt.c listen.c recv.c recvfrom.c recvmsg.c send.c sendmsg.c \
sendto.c setsockopt.c shutdown.c socket.c socketpair.c
-# FIXME: GNU / linux specific
-socketcalls_CSRC-y += accept4.c
+socketcalls_CSRC-$(UCLIBC_LINUX_SPECIFIC) += accept4.c
CSRC-$(UCLIBC_HAS_SOCKET) += $(socketcalls_CSRC-y) opensock.c
CSRC-$(findstring y,$(UCLIBC_HAS_SOCKET)$(UCLIBC_HAS_IPV4)$(UCLIBC_HAS_IPV6)) += ethers.c ether_addr.c