diff options
author | André Klitzing <aklitzing@gmail.com> | 2017-03-10 22:01:21 +0100 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2017-03-10 22:11:47 +0000 |
commit | 75907cb51351cef76d4c8d29374190e21710e767 (patch) | |
tree | 0ecae822dc233f282ac8d2d74b162d652ae1c94c | |
parent | f72726c7d88b6640e6cebb974f907aa585aab074 (diff) | |
download | ostree-75907cb51351cef76d4c8d29374190e21710e767.tar.gz |
Fix includes if built against musl
LOCK_* is defined in sys/file.h
http://git.musl-libc.org/cgit/musl/tree/include/sys/file.h
Closes: #730
Approved by: cgwalters
-rw-r--r-- | src/libostree/ostree-repo.c | 1 | ||||
-rw-r--r-- | src/libostree/ostree-sysroot.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/libostree/ostree-repo.c b/src/libostree/ostree-repo.c index 71604480..0f1c3631 100644 --- a/src/libostree/ostree-repo.c +++ b/src/libostree/ostree-repo.c @@ -42,6 +42,7 @@ #include <locale.h> #include <glib/gstdio.h> +#include <sys/file.h> /** * SECTION:ostree-repo diff --git a/src/libostree/ostree-sysroot.c b/src/libostree/ostree-sysroot.c index f50e34bd..4ed0d759 100644 --- a/src/libostree/ostree-sysroot.c +++ b/src/libostree/ostree-sysroot.c @@ -21,6 +21,7 @@ #include "config.h" #include "otutil.h" +#include <sys/file.h> #include <sys/mount.h> #include <sys/wait.h> |