The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxc/pull/2572
This e-mail was sent by the LXC bot, direct replies will not reach the author unless they happen to be subscribed to this list. === Description (from pull-request) === Signed-off-by: Christian Brauner <[email protected]>
From 43cd383446a11c8ea907b82c3a0a0d1504936923 Mon Sep 17 00:00:00 2001 From: Christian Brauner <[email protected]> Date: Fri, 24 Aug 2018 12:25:28 +0200 Subject: [PATCH] build: fix musl Signed-off-by: Christian Brauner <[email protected]> --- src/lxc/macro.h | 1 + src/lxc/parse.c | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lxc/macro.h b/src/lxc/macro.h index ba2c242c5..d6e871272 100644 --- a/src/lxc/macro.h +++ b/src/lxc/macro.h @@ -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> diff --git a/src/lxc/parse.c b/src/lxc/parse.c index d1d7cf8e1..3ae96f307 100644 --- a/src/lxc/parse.c +++ b/src/lxc/parse.c @@ -21,9 +21,9 @@ * 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> @@ -31,7 +31,6 @@ #include <sys/mman.h> #include "parse.h" -#include "config.h" #include "utils.h" #include "log.h"
_______________________________________________ lxc-devel mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-devel
