blob: 055128706c0529c1762ffe767a333702b52fbe16 [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001From 433ffb21119a0f39e882dd3fea4742e64aadcc40 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 11 Aug 2018 09:56:40 -0700
4Subject: [PATCH] eject: Include sys/sysmacros.h for major/minor
5
6Fixes
7arm-bec-linux-gnueabi/gcc/arm-bec-linux-gnueabi/8.2.0/ld: eject.o: in function `GetMajorMinor':
8/usr/src/debug/eject/2.1.5-r1/eject-2.1.5/../../../../../../../workspace/sources/eject/eject.c:866: undefined reference to `major'
9
10Upstream-Status: Pending
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13 eject.c | 1 +
14 1 file changed, 1 insertion(+)
15
16diff --git a/eject.c b/eject.c
17index 47e09fe..b171218 100644
18--- a/eject.c
19+++ b/eject.c
20@@ -54,6 +54,7 @@
21 #include <sys/wait.h>
22 #include <sys/mtio.h>
23 #include <sys/mount.h>
24+#include <sys/sysmacros.h>
25
26 #if defined(__linux__)
27 #include <linux/version.h>