blob: d3d89e333b5eac1df414c28de9d6bbe7d7dcb336 [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001From a372fe467495a674ad6244b67e83dfbfa8455f51 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 11 Aug 2018 13:54:32 -0700
4Subject: [PATCH] include sys/sysmacros.h for major/minor definitions
5
6csctapi/ifd_db2com.c:27: undefined reference to `minor'
7collect2: error: ld returned 1 exit status
8
9Upstream-Status: Pending
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 globals.h | 1 +
13 1 file changed, 1 insertion(+)
14
15diff --git a/globals.h b/globals.h
16index 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