[lxc-devel] [PATCH 0/8] Various compile fixes for musl libc
Natanael Copa
ncopa at alpinelinux.org
Wed Jan 29 14:23:42 UTC 2014
This is a set with fixes for compiling LXC with musl libc. It is mostly
missing includes or missing _GNU_SOURCE define.
I have tested that it does not breaks uClibc and while there I fixed
a compile error with uClibc and getline, the last, 8/8 path.
Natanael Copa (8):
Include poll.h instead of sys/poll.h
Use the standard 'unsigned int' instead or non-standard 'uint'
Include strings.h for strcasecmp
Include limits.h for NAME_MAX
Don't include linux/if_bridge.h
Check for non-posix utmpxname in configure
Include config.h early for _GNU_SOURCE with musl libc
Include config.h early for _GNU_SOURCE with uClibc
configure.ac | 2 +-
src/lxc/af_unix.c | 4 ++--
src/lxc/cgmanager.c | 5 ++---
src/lxc/cgroup.c | 5 ++---
src/lxc/commands.c | 2 +-
src/lxc/conf.c | 5 ++---
src/lxc/conf.h | 4 ++--
src/lxc/freezer.c | 4 ++--
src/lxc/log.h | 1 +
src/lxc/lxc_console.c | 2 +-
src/lxc/lxc_snapshot.c | 1 +
src/lxc/lxc_start.c | 5 ++---
src/lxc/lxc_unshare.c | 5 ++---
src/lxc/lxc_usernsexec.c | 2 +-
src/lxc/lxcutmp.c | 31 +++++++++++++++++++------------
src/lxc/monitor.h | 1 +
src/lxc/network.c | 1 -
src/lxc/start.c | 3 +--
18 files changed, 43 insertions(+), 40 deletions(-)
--
1.8.5.3
More information about the lxc-devel
mailing list