summaryrefslogtreecommitdiff
path: root/include/linux/signalfd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/signalfd.h')
-rw-r--r--include/linux/signalfd.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/signalfd.h b/include/linux/signalfd.h
index ea037f28df91..8b3f7b7420a1 100644
--- a/include/linux/signalfd.h
+++ b/include/linux/signalfd.h
@@ -8,6 +8,11 @@
#ifndef _LINUX_SIGNALFD_H
#define _LINUX_SIGNALFD_H
+/* For O_CLOEXEC */
+#include <linux/fcntl.h>
+
+/* Flags for signalfd4. */
+#define SFD_CLOEXEC O_CLOEXEC
struct signalfd_siginfo {
__u32 ssi_signo;