diff options
Diffstat (limited to 'include/linux/signalfd.h')
-rw-r--r-- | include/linux/signalfd.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/signalfd.h b/include/linux/signalfd.h index 8b3f7b7420a1..bef0c46d4713 100644 --- a/include/linux/signalfd.h +++ b/include/linux/signalfd.h | |||
@@ -8,11 +8,12 @@ | |||
8 | #ifndef _LINUX_SIGNALFD_H | 8 | #ifndef _LINUX_SIGNALFD_H |
9 | #define _LINUX_SIGNALFD_H | 9 | #define _LINUX_SIGNALFD_H |
10 | 10 | ||
11 | /* For O_CLOEXEC */ | 11 | /* For O_CLOEXEC and O_NONBLOCK */ |
12 | #include <linux/fcntl.h> | 12 | #include <linux/fcntl.h> |
13 | 13 | ||
14 | /* Flags for signalfd4. */ | 14 | /* Flags for signalfd4. */ |
15 | #define SFD_CLOEXEC O_CLOEXEC | 15 | #define SFD_CLOEXEC O_CLOEXEC |
16 | #define SFD_NONBLOCK O_NONBLOCK | ||
16 | 17 | ||
17 | struct signalfd_siginfo { | 18 | struct signalfd_siginfo { |
18 | __u32 ssi_signo; | 19 | __u32 ssi_signo; |