master - headers: add headers for musl libc
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=d3b8f270eac7314767e9098ef28e2f8b89fbf296 Commit: d3b8f270eac7314767e9098ef28e2f8b89fbf296 Parent: 7cd25062acc5c54959e892381600257372ef071f Author: Zdenek Kabelac <[email protected]> AuthorDate: Tue Feb 5 09:33:30 2013 +0100 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Tue Feb 5 14:27:25 2013 +0100
headers: add headers for musl libc
On glibc, those are erroneously (namespace pollution) pulled in via other headers. this doesn't work with conformant libcs (musl libc in this case), we simply need to include all needed headers.
Signed-off-by John Spencer <[email protected]>
--- daemons/dmeventd/dmeventd.c | 1 + libdm/mm/pool-fast.c | 1 + .../lvm2_activation_generator_systemd_red_hat.c | 1 + 3 files changed, 3 insertions(+), 0 deletions(-)
daemons/dmeventd/dmeventd.c +1 -0
@@ -37,6 +37,7 @@#include <unistd.h> #include <signal.h> #include <arpa/inet.h> /* for htonl, ntohl */ +#include <fcntl.h> #ifdef linux/*
libdm/mm/pool-fast.c +1 -0
@@ -18,6 +18,7 @@#endif #include "dmlib.h" +#include <stddef.h> #include <malloc.h> struct chunk {
scripts/lvm2_activation_generator_systemd_red_hat.c +1 -0
@@ -19,6 +19,7 @@#include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> +#include <limits.h> /* for PATH_MAX */ #include "lvm2app.h" #define KMSG_DEV_PATH "/dev/kmsg"