From b01bd8b294c35be664b018dd6e5fa9ec30e521ca Mon Sep 17 00:00:00 2001 From: Chris Rankin Date: Mon, 3 Oct 2011 01:13:10 +0100 Subject: Assign O_CLOEXEC a safe default value if it hasn't been defined already. --- src/xine-utils/xine_check.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/xine-utils/xine_check.c b/src/xine-utils/xine_check.c index 90100d725..5bc936da8 100644 --- a/src/xine-utils/xine_check.c +++ b/src/xine-utils/xine_check.c @@ -46,6 +46,10 @@ #include "xineutils.h" +#ifndef O_CLOEXEC +# define O_CLOEXEC 0 +#endif + #if defined(__linux__) #include -- cgit v1.2.3