From 75023a9381f49dd1a74ffc7d7397d88686d10cf9 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Fri, 9 Jan 2015 03:47:23 +0000 Subject: [PATCH] Fix build on systems that lack O_CLOEXEC definition * xlat/timerfdflags.in [!TFD_CLOEXEC]: Check that O_CLOEXEC is defined. --- xlat/timerfdflags.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xlat/timerfdflags.in b/xlat/timerfdflags.in index e4e2b104..7d529eba 100644 --- a/xlat/timerfdflags.in +++ b/xlat/timerfdflags.in @@ -10,7 +10,7 @@ TFD_TIMER_ABSTIME #endif TFD_TIMER_CANCEL_ON_SET -#ifndef TFD_CLOEXEC +#if !defined TFD_CLOEXEC && defined O_CLOEXEC # define TFD_CLOEXEC O_CLOEXEC #endif TFD_CLOEXEC -- 2.40.0