From: Davide Cavalca Date: Thu, 14 Sep 2017 04:14:29 +0000 (-0400) Subject: basic: ensure O_TMPFILE is always defined (#6816) X-Git-Tag: v235~119 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5df18e4b6d39b0c5e0abf6031e53d28bdfd9243;p=thirdparty%2Fsystemd.git basic: ensure O_TMPFILE is always defined (#6816) --- diff --git a/src/basic/missing.h b/src/basic/missing.h index 7830a4f415b..0269066427c 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