From: Felix Fietkau Date: Sat, 11 Feb 2017 14:43:36 +0000 (+0100) Subject: add missing includes X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f13e12cc86163662c51a9109fdccd52812564c33;p=oweals%2Fprocd.git add missing includes Including sys/sysmacros.h is now necessary for makedev() on glibc 2.25. Signed-off-by: Felix Fietkau --- diff --git a/initd/early.c b/initd/early.c index bf519f6..7028ff8 100644 --- a/initd/early.c +++ b/initd/early.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include diff --git a/initd/mkdev.c b/initd/mkdev.c index e826707..44101aa 100644 --- a/initd/mkdev.c +++ b/initd/mkdev.c @@ -16,6 +16,7 @@ #include #include +#include #include #include diff --git a/plug/hotplug.c b/plug/hotplug.c index ae972f6..c8bea1b 100644 --- a/plug/hotplug.c +++ b/plug/hotplug.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include