From d5df18e4b6d39b0c5e0abf6031e53d28bdfd9243 Mon Sep 17 00:00:00 2001 From: Davide Cavalca Date: Thu, 14 Sep 2017 00:14:29 -0400 Subject: [PATCH] basic: ensure O_TMPFILE is always defined (#6816) --- src/basic/missing.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/basic/missing.h b/src/basic/missing.h index 7830a4f..0269066 100644 --- a/src/basic/missing.h +++ b/src/basic/missing.h @@ -606,14 +606,13 @@ struct input_mask { #else #define __O_TMPFILE 020000000 #endif +#endif /* a horrid kludge trying to make sure that this will fail on old kernels */ #ifndef O_TMPFILE #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY) #endif -#endif - #if !HAVE_DECL_LO_FLAGS_PARTSCAN #define LO_FLAGS_PARTSCAN 8 #endif -- 2.7.4