From 3ee57870d6c6291d9f5b8757ee4b4f512e238dc7 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Fri, 11 Jan 2019 16:36:06 +0100 Subject: 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 --- src/basic/tmpfile-util.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/basic/tmpfile-util.c') 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" -- cgit v1.2.3