summaryrefslogtreecommitdiff
path: root/initd
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2017-02-11 15:43:36 +0100
committerFelix Fietkau <nbd@nbd.name>2017-02-11 15:43:38 +0100
commitf13e12cc86163662c51a9109fdccd52812564c33 (patch)
treef968d062f9013268104a43db351438eeb0b4cbc6 /initd
parentcdc3dab3cd5d0295f638de3088bc4f5c9669e7c2 (diff)
downloadprocd-f13e12cc86163662c51a9109fdccd52812564c33.tar.gz
add missing includes
Including sys/sysmacros.h is now necessary for makedev() on glibc 2.25. Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'initd')
-rw-r--r--initd/early.c1
-rw-r--r--initd/mkdev.c1
2 files changed, 2 insertions, 0 deletions
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 <sys/mount.h>
#include <sys/types.h>
#include <sys/stat.h>
+#include <sys/sysmacros.h>
#include <stdio.h>
#include <fcntl.h>
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 <sys/stat.h>
#include <sys/types.h>
+#include <sys/sysmacros.h>
#include <stdio.h>
#include <string.h>