diff --git a/lib/filters/filter-sysfs.c b/lib/filters/filter-sysfs.c index 3115f863d..6f566bccf 100644 --- a/lib/filters/filter-sysfs.c +++ b/lib/filters/filter-sysfs.c @@ -17,6 +17,7 @@ #ifdef __linux__ +#include #include static int _locate_sysfs_blocks(const char *sysfs_dir, char *path, size_t len, diff --git a/libdm/libdm-stats.c b/libdm/libdm-stats.c index 1c2e19b88..6932b285b 100644 --- a/libdm/libdm-stats.c +++ b/libdm/libdm-stats.c @@ -19,6 +19,7 @@ #include "math.h" /* log10() */ +#include #include #include /* fstatfs */