diff options
author | Fabrice Fontaine <fontaine.fabrice@gmail.com> | 2019-01-11 17:30:32 +0100 |
---|---|---|
committer | Fabrice Fontaine <fontaine.fabrice@gmail.com> | 2019-01-11 17:37:36 +0100 |
commit | 5269db454fe00258203f1b7003681ef7d9749809 (patch) | |
tree | 52ab12674e4ab42f0e5f766506d2721aea6c0d02 /src/shared/lockfile-util.c | |
parent | missing_syscall.h: include errno.h (diff) | |
download | systemd-5269db454fe00258203f1b7003681ef7d9749809.tar.xz systemd-5269db454fe00258203f1b7003681ef7d9749809.zip |
lockfile-util.c: fix build without F_OFD_SETLK
systemd fails to build on kernel without F_OFD_SETLK since
https://github.com/systemd/systemd/commit/9714c020fc4cda1823c2a77e3fd08aefa7d78b25
So put include missing_fcntl.h
Fixes:
- http://autobuild.buildroot.org/results/699c078aa078240c6741da4dbd0871450ceeca92
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Diffstat (limited to 'src/shared/lockfile-util.c')
-rw-r--r-- | src/shared/lockfile-util.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/lockfile-util.c b/src/shared/lockfile-util.c index 4bae23b243..260c2088d5 100644 --- a/src/shared/lockfile-util.c +++ b/src/shared/lockfile-util.c @@ -12,6 +12,7 @@ #include "fs-util.h" #include "lockfile-util.h" #include "macro.h" +#include "missing_fcntl.h" #include "path-util.h" int make_lock_file(const char *p, int operation, LockFile *ret) { |