From d800403032b17b266430f0679c71f032de430197 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Sun, 5 Mar 2017 23:54:52 +0000 Subject: 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. --- include/sys/timerfd.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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; -- cgit v1.2.1