aboutsummaryrefslogtreecommitdiffstats
path: root/meta-multimedia/recipes-dvb/oscam/oscam/0001-include-sys-sysmacros.h-for-major-minor-definitions.patch
blob: d3d89e333b5eac1df414c28de9d6bbe7d7dcb336 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From a372fe467495a674ad6244b67e83dfbfa8455f51 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Sat, 11 Aug 2018 13:54:32 -0700
Subject: [PATCH] include sys/sysmacros.h for major/minor definitions

csctapi/ifd_db2com.c:27: undefined reference to `minor'
collect2: error: ld returned 1 exit status

Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 globals.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/globals.h b/globals.h
index bd12244..9e10225 100644
--- a/globals.h
+++ b/globals.h
@@ -36,6 +36,7 @@
 #include <termios.h>
 #include <inttypes.h>
 #include <sys/utsname.h>
+#include <sys/sysmacros.h>
 
 /*
  * The following hack is taken from Linux: include/linux/kconfig.h