Skip to content

Commit

Permalink
Fix includes if built against musl
Browse files Browse the repository at this point in the history
LOCK_* is defined in sys/file.h

http://git.musl-libc.org/cgit/musl/tree/include/sys/file.h

Closes: #730
Approved by: cgwalters
  • Loading branch information
misery authored and rh-atomic-bot committed Mar 10, 2017
1 parent f72726c commit 75907cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/libostree/ostree-repo.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@

#include <locale.h>
#include <glib/gstdio.h>
#include <sys/file.h>

/**
* SECTION:ostree-repo
Expand Down
1 change: 1 addition & 0 deletions src/libostree/ostree-sysroot.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#include "config.h"

#include "otutil.h"
#include <sys/file.h>
#include <sys/mount.h>
#include <sys/wait.h>

Expand Down

0 comments on commit 75907cb

Please sign in to comment.