diff --git a/daemons/dmeventd/dmeventd.c b/daemons/dmeventd/dmeventd.c index 55b940f9d..06c0c928d 100644 --- a/daemons/dmeventd/dmeventd.c +++ b/daemons/dmeventd/dmeventd.c @@ -37,6 +37,7 @@ #include #include #include /* for htonl, ntohl */ +#include #ifdef linux /* diff --git a/libdm/mm/pool-fast.c b/libdm/mm/pool-fast.c index 61e076a1e..0e13416b1 100644 --- a/libdm/mm/pool-fast.c +++ b/libdm/mm/pool-fast.c @@ -18,6 +18,7 @@ #endif #include "dmlib.h" +#include #include struct chunk { 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 #include #include +#include /* for PATH_MAX */ #include "lvm2app.h" #define KMSG_DEV_PATH "/dev/kmsg"