summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2017-03-05 23:54:52 +0000
committerRich Felker <dalias@aerifal.cx>2017-11-05 18:40:58 -0500
commitd800403032b17b266430f0679c71f032de430197 (patch)
treea244ad6a83799c4a13b59167c36aef7ebf2767f7 /include
parentf5638c22e3599a720f80da76f2827e5b0f6383ae (diff)
downloadmusl-d800403032b17b266430f0679c71f032de430197.tar.gz
add TFD_TIMER_CANCEL_ON_SET that timerfd.h was missing
linux commit 575b1967e10a1f3038266244d2c7a3ca6b99fed8 moved timerfd apis to a new uapi header which showed musl was missing this flag.
Diffstat (limited to 'include')
-rw-r--r--include/sys/timerfd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/timerfd.h b/include/sys/timerfd.h
index 9724d903..2794d36a 100644
--- a/include/sys/timerfd.h
+++ b/include/sys/timerfd.h
@@ -12,6 +12,7 @@ extern "C" {
#define TFD_CLOEXEC O_CLOEXEC
#define TFD_TIMER_ABSTIME 1
+#define TFD_TIMER_CANCEL_ON_SET (1 << 1)
struct itimerspec;