From: Felix Fietkau Date: Sat, 11 Feb 2017 15:01:50 +0000 (+0100) Subject: add missing includes X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=34d36c29b9d599b0748d49aca8dab2c122633d35;p=project%2Ffstools.git add missing includes On glibc 2.25, sys/sysmacros.h needs to be included for makedev, major and minor. Signed-off-by: Felix Fietkau --- diff --git a/block.c b/block.c index 05f84aa..7db30ac 100644 --- a/block.c +++ b/block.c @@ -31,6 +31,7 @@ #include #include #include +#include #include diff --git a/libblkid-tiny/mkdev.c b/libblkid-tiny/mkdev.c index f1d504f..a35722b 100644 --- a/libblkid-tiny/mkdev.c +++ b/libblkid-tiny/mkdev.c @@ -16,6 +16,7 @@ #include #include +#include #include #include diff --git a/libfstools/find.c b/libfstools/find.c index 52bc51f..190fa81 100644 --- a/libfstools/find.c +++ b/libfstools/find.c @@ -15,6 +15,7 @@ #include #include #include +#include #include "libfstools.h" diff --git a/libubi/libubi.c b/libubi/libubi.c index d1f2a8b..3328ac8 100644 --- a/libubi/libubi.c +++ b/libubi/libubi.c @@ -22,6 +22,7 @@ #define PROGRAM_NAME "libubi" +#include #include #include #include