summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/bits/kernel-features.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/bits/kernel-features.h')
-rw-r--r--libc/sysdeps/linux/common/bits/kernel-features.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/bits/kernel-features.h b/libc/sysdeps/linux/common/bits/kernel-features.h
index 8481f0640..68b881c09 100644
--- a/libc/sysdeps/linux/common/bits/kernel-features.h
+++ b/libc/sysdeps/linux/common/bits/kernel-features.h
@@ -46,6 +46,11 @@
# define __ASSUME_GETCWD_SYSCALL 1
#endif
+/* When was `poll' introduced? */
+#if __LINUX_KERNEL_VERSION >= 131584
+# define __ASSUME_POLL_SYSCALL 1
+#endif
+
/* Real-time signal became usable in 2.1.70. */
#if __LINUX_KERNEL_VERSION >= 131398
# define __ASSUME_REALTIME_SIGNALS 1