summaryrefslogtreecommitdiff
path: root/src/basic/tmpfile-util.c
diff options
context:
space:
mode:
authorFabrice Fontaine <fontaine.fabrice@gmail.com>2019-01-11 16:36:06 +0100
committerFabrice Fontaine <fontaine.fabrice@gmail.com>2019-01-11 17:37:36 +0100
commit3ee57870d6c6291d9f5b8757ee4b4f512e238dc7 (patch)
tree90f550dd99e80dbf2d4a2d7aa505cb9c18e9db03 /src/basic/tmpfile-util.c
parenta22692d718d922e8ba28b15d664344a21554bb3f (diff)
downloadsystemd-3ee57870d6c6291d9f5b8757ee4b4f512e238dc7.tar.gz
basic/tmpfile-util.c: fix build without O_TMPFILE
systemd fails to build on kernel without O_TMPFILE (< 3.11) since https://github.com/systemd/systemd/commit/dea72eda9cdbfeedd24cbe8c734ad0639bf96cde To fix this error, include missing_fcntl.h Fixes: - http://autobuild.buildroot.org/results/699c078aa078240c6741da4dbd0871450ceeca92 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Diffstat (limited to 'src/basic/tmpfile-util.c')
-rw-r--r--src/basic/tmpfile-util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/basic/tmpfile-util.c b/src/basic/tmpfile-util.c
index 669eb2666c..bc92d6a6de 100644
--- a/src/basic/tmpfile-util.c
+++ b/src/basic/tmpfile-util.c
@@ -8,6 +8,7 @@
#include "hexdecoct.h"
#include "macro.h"
#include "memfd-util.h"
+#include "missing_fcntl.h"
#include "missing_syscall.h"
#include "path-util.h"
#include "process-util.h"