From: Fabrice Fontaine Date: Fri, 11 Jan 2019 15:36:06 +0000 (+0100) Subject: basic/tmpfile-util.c: fix build without O_TMPFILE X-Git-Tag: v241-rc1~86^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3ee57870d6c6291d9f5b8757ee4b4f512e238dc7;p=thirdparty%2Fsystemd.git 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 --- diff --git a/src/basic/tmpfile-util.c b/src/basic/tmpfile-util.c index 669eb2666ce..bc92d6a6de2 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"