From 7d78836dac9e0ece57c51ab06589efa524276b9d Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 11 Feb 2017 16:01:50 +0100 Subject: [PATCH] add missing includes On glibc 2.25, sys/sysmacros.h needs to be included for makedev, major and minor. Signed-off-by: Felix Fietkau --- block.c | 1 + libblkid-tiny/mkdev.c | 1 + libfstools/find.c | 1 + libubi/libubi.c | 1 + 4 files changed, 4 insertions(+) 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 -- 2.25.1