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
This commit is contained in:
André Klitzing 2017-03-10 22:01:21 +01:00 committed by Atomic Bot
parent f72726c7d8
commit 75907cb513
2 changed files with 2 additions and 0 deletions

View File

@ -42,6 +42,7 @@
#include <locale.h>
#include <glib/gstdio.h>
#include <sys/file.h>
/**
* SECTION:ostree-repo

View File

@ -21,6 +21,7 @@
#include "config.h"
#include "otutil.h"
#include <sys/file.h>
#include <sys/mount.h>
#include <sys/wait.h>