Skip to content

Commit

Permalink
build: fix musl
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Christian Brauner committed Sep 30, 2018
1 parent 6b4e3a5 commit 8870e1c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/lxc/macro.h
Expand Up @@ -27,6 +27,7 @@
#include <linux/loop.h>
#include <linux/netlink.h>
#include <linux/rtnetlink.h>
#include <string.h>
#include <sys/mount.h>
#include <sys/socket.h>

Expand Down
5 changes: 2 additions & 3 deletions src/lxc/parse.c
Expand Up @@ -21,17 +21,16 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#define _GNU_SOURCE
#include "config.h"

#include <stdio.h>
#undef _GNU_SOURCE
#include <dirent.h>
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include <sys/mman.h>

#include "parse.h"
#include "config.h"
#include "utils.h"
#include "log.h"

Expand Down

0 comments on commit 8870e1c

Please sign in to comment.