diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/mips/kernel-features.h')
-rw-r--r-- | sysdeps/unix/sysv/linux/mips/kernel-features.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/mips/kernel-features.h b/sysdeps/unix/sysv/linux/mips/kernel-features.h index 1c83ee558d..94deaf9205 100644 --- a/sysdeps/unix/sysv/linux/mips/kernel-features.h +++ b/sysdeps/unix/sysv/linux/mips/kernel-features.h @@ -31,6 +31,11 @@ # define __ASSUME_SIGNALFD4 1 #endif +/* Support for the accept4 syscall was added in 2.6.31. */ +#if __LINUX_KERNEL_VERSION >= 0x02061f +# define __ASSUME_ACCEPT4_SYSCALL 1 +#endif + #include_next <kernel-features.h> /* The n32 syscall ABI did not have a getdents64 syscall until |