From f13e12cc86163662c51a9109fdccd52812564c33 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 11 Feb 2017 15:43:36 +0100 Subject: [PATCH] add missing includes Including sys/sysmacros.h is now necessary for makedev() on glibc 2.25. Signed-off-by: Felix Fietkau --- initd/early.c | 1 + initd/mkdev.c | 1 + plug/hotplug.c | 1 + 3 files changed, 3 insertions(+) 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 -- 2.30.2