summaryrefslogtreecommitdiff
path: root/src/xlat/epollflags.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/xlat/epollflags.in')
-rw-r--r--src/xlat/epollflags.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xlat/epollflags.in b/src/xlat/epollflags.in
new file mode 100644
index 000000000..e7ebaafd4
--- /dev/null
+++ b/src/xlat/epollflags.in
@@ -0,0 +1,3 @@
+#if defined EPOLL_CLOEXEC || defined O_CLOEXEC
+EPOLL_CLOEXEC O_CLOEXEC
+#endif