Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 1 | From a372fe467495a674ad6244b67e83dfbfa8455f51 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Sat, 11 Aug 2018 13:54:32 -0700 |
| 4 | Subject: [PATCH] include sys/sysmacros.h for major/minor definitions |
| 5 | |
| 6 | csctapi/ifd_db2com.c:27: undefined reference to `minor' |
| 7 | collect2: error: ld returned 1 exit status |
| 8 | |
| 9 | Upstream-Status: Pending |
| 10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 11 | --- |
| 12 | globals.h | 1 + |
| 13 | 1 file changed, 1 insertion(+) |
| 14 | |
| 15 | diff --git a/globals.h b/globals.h |
| 16 | index bd12244..9e10225 100644 |
| 17 | --- a/globals.h |
| 18 | +++ b/globals.h |
| 19 | @@ -36,6 +36,7 @@ |
| 20 | #include <termios.h> |
| 21 | #include <inttypes.h> |
| 22 | #include <sys/utsname.h> |
| 23 | +#include <sys/sysmacros.h> |
| 24 | |
| 25 | /* |
| 26 | * The following hack is taken from Linux: include/linux/kconfig.h |