From c97164f05ba8fa5d2ebf30f1c2de083bc1ead1e1 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Fri, 22 May 2009 08:25:34 -0700 Subject: Implement accept4 for more archs using socketcall. So far accept4 was only supported on archs using socketcall for x86. This patch adds support for the remaining archs. (cherry picked from commit 1e1dc4e82dd4f31b87440388614c3e4bccdd5f3c) --- sysdeps/unix/sysv/linux/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sysdeps/unix/sysv/linux/Makefile') diff --git a/sysdeps/unix/sysv/linux/Makefile b/sysdeps/unix/sysv/linux/Makefile index 170c042dd1..cee5d29255 100644 --- a/sysdeps/unix/sysv/linux/Makefile +++ b/sysdeps/unix/sysv/linux/Makefile @@ -11,6 +11,10 @@ ifeq ($(subdir),malloc) CFLAGS-malloc.c += -DMORECORE_CLEARS=2 endif +ifeq ($(subdir),socket) +sysdep_routines += internal_accept4 +endif + ifeq ($(subdir),misc) sysdep_routines += sysctl clone llseek umount umount2 readahead \ setfsuid setfsgid makedev epoll_pwait signalfd \ -- cgit v1.2.3