summaryrefslogtreecommitdiff
path: root/make/check_epoll.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'make/check_epoll.cpp')
-rw-r--r--make/check_epoll.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/make/check_epoll.cpp b/make/check_epoll.cpp
new file mode 100644
index 000000000..626d4475c
--- /dev/null
+++ b/make/check_epoll.cpp
@@ -0,0 +1,6 @@
+#include <sys/epoll.h>
+
+int main() {
+ int fd = epoll_create(1);
+ return (fd < 0);
+}