1From c710a3accd1fabdb671274e1a458405282d51e0c Mon Sep 17 00:00:00 2001 2From: Khem Raj <raj.khem@gmail.com> 3Date: Mon, 6 Aug 2018 15:38:58 -0700 4Subject: [PATCH] include sys/sysmacros.h for major/minor definitions 5 6Signed-off-by: Khem Raj <raj.khem@gmail.com> 7Upstream-Status: Pending 8 9--- 10 src/bootlogd.c | 1 + 11 src/mountpoint.c | 1 + 12 src/shutdown.c | 1 + 13 3 files changed, 3 insertions(+) 14 15diff --git a/src/bootlogd.c b/src/bootlogd.c 16index 787db87..8b07903 100644 17--- a/src/bootlogd.c 18+++ b/src/bootlogd.c 19@@ -29,6 +29,7 @@ 20 #include <sys/types.h> 21 #include <sys/time.h> 22 #include <sys/stat.h> 23+#include <sys/sysmacros.h> 24 #include <sys/ioctl.h> 25 #include <sys/utsname.h> 26 #include <time.h> 27diff --git a/src/mountpoint.c b/src/mountpoint.c 28index 5f20522..94df7a1 100644 29--- a/src/mountpoint.c 30+++ b/src/mountpoint.c 31@@ -25,6 +25,7 @@ 32 33 #include <sys/types.h> 34 #include <sys/stat.h> 35+#include <sys/sysmacros.h> 36 #include <unistd.h> 37 #include <stdlib.h> 38 #include <string.h> 39diff --git a/src/shutdown.c b/src/shutdown.c 40index b744a2c..40b7faf 100644 41--- a/src/shutdown.c 42+++ b/src/shutdown.c 43@@ -40,6 +40,7 @@ 44 #endif 45 #include <sys/types.h> 46 #include <sys/stat.h> 47+#include <sys/sysmacros.h> 48 #include <sys/wait.h> 49 #ifdef __linux__ 50 #include <sys/sysmacros.h> /* brought in my LFS patch */ 51