diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2013-02-05 09:33:30 +0100 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2013-02-05 14:27:25 +0100 |
commit | d3b8f270eac7314767e9098ef28e2f8b89fbf296 (patch) | |
tree | 3cd8118f6db252d855980f0a367bca79c65d0f9d /scripts | |
parent | 7cd25062acc5c54959e892381600257372ef071f (diff) | |
download | lvm2-d3b8f270eac7314767e9098ef28e2f8b89fbf296.tar.gz |
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 <maillist-lvm@barfooze.de>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lvm2_activation_generator_systemd_red_hat.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/lvm2_activation_generator_systemd_red_hat.c b/scripts/lvm2_activation_generator_systemd_red_hat.c index dfd6fc446..6fc2865ee 100644 --- a/scripts/lvm2_activation_generator_systemd_red_hat.c +++ b/scripts/lvm2_activation_generator_systemd_red_hat.c @@ -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" |