fix missing include directives
PATCH 1/1 fix missing include directives
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.
libdm/mm/pool-fast.c +1 -0
@@ -18,6 +18,7 @@#endif #include "dmlib.h" +#include <stddef.h> #include <malloc.h> struct chunk {
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/*
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"
Quoted 7 lines · John Spencer
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]>
ping
Quoted 10 lines · John Spencer
Quoted 7 lines · John Spencer
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]>ping
Dne 21.2.2013 14:42, John Spencer napsal(a):
Quoted 6 lines · John Spencer
Quoted 5 lines · John Spencer
Quoted 4 lines
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.
Quoted 6 lines
Quoted 5 lines
Quoted 3 lines
Signed-off-by John Spencer <[email protected]>ping
accepted
https://www.redhat.com/archives/lvm-devel/2013-February/msg00033.html
Zdenek
Dne 21.2.2013 14:42, John Spencer napsal(a):
Quoted 6 lines · John Spencer
Quoted 5 lines · John Spencer
Quoted 4 lines
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.
Quoted 6 lines
Quoted 5 lines
Quoted 3 lines
Signed-off-by John Spencer <[email protected]>ping
Accepted
https://www.redhat.com/archives/lvm-devel/2013-February/msg00033.html
Zdenek