projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fcdcbc
)
basic: ensure O_TMPFILE is always defined (#6816)
author
Davide Cavalca
<davide125@tiscali.it>
Thu, 14 Sep 2017 04:14:29 +0000
(
00:14
-0400)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Thu, 14 Sep 2017 04:14:29 +0000
(06:14 +0200)
src/basic/missing.h
patch
|
blob
|
history
diff --git
a/src/basic/missing.h
b/src/basic/missing.h
index
7830a4f
..
0269066
100644
(file)
--- 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