From d50955620ff2eaa4c0aa87bb51b91d63ac8d7b94 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Thu, 13 Dec 2012 14:15:11 -0500 Subject: [PATCH] add missing flags in sys/timerfd.h --- include/sys/timerfd.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/sys/timerfd.h b/include/sys/timerfd.h index 0afa7b0e..df645fe8 100644 --- a/include/sys/timerfd.h +++ b/include/sys/timerfd.h @@ -6,6 +6,12 @@ extern "C" { #endif #include +#include + +#define TFD_NONBLOCK O_NONBLOCK +#define TFD_CLOEXEC O_CLOEXEC + +#define TFD_TIMER_ABSTIME 1 int timerfd_create(int, int); int timerfd_settime(int, int, const struct itimerspec *, struct itimerspec *); -- 2.20.1