aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/timerfd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/timerfd.h')
-rw-r--r--include/linux/timerfd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/timerfd.h b/include/linux/timerfd.h
index 96ed97dff00f..86cb0501d3e2 100644
--- a/include/linux/timerfd.h
+++ b/include/linux/timerfd.h
@@ -8,7 +8,7 @@
8#ifndef _LINUX_TIMERFD_H 8#ifndef _LINUX_TIMERFD_H
9#define _LINUX_TIMERFD_H 9#define _LINUX_TIMERFD_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 timerfd_settime. */ 14/* Flags for timerfd_settime. */
@@ -16,6 +16,7 @@
16 16
17/* Flags for timerfd_create. */ 17/* Flags for timerfd_create. */
18#define TFD_CLOEXEC O_CLOEXEC 18#define TFD_CLOEXEC O_CLOEXEC
19#define TFD_NONBLOCK O_NONBLOCK
19 20
20 21
21#endif /* _LINUX_TIMERFD_H */ 22#endif /* _LINUX_TIMERFD_H */