summaryrefslogtreecommitdiffstats
path: root/meta-initramfs/recipes-bsp/kexecboot/files/0002-include-sys-sysmacros.h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-initramfs/recipes-bsp/kexecboot/files/0002-include-sys-sysmacros.h.patch')
-rw-r--r--meta-initramfs/recipes-bsp/kexecboot/files/0002-include-sys-sysmacros.h.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/meta-initramfs/recipes-bsp/kexecboot/files/0002-include-sys-sysmacros.h.patch b/meta-initramfs/recipes-bsp/kexecboot/files/0002-include-sys-sysmacros.h.patch
deleted file mode 100644
index f12ae99e7..000000000
--- a/meta-initramfs/recipes-bsp/kexecboot/files/0002-include-sys-sysmacros.h.patch
+++ /dev/null
@@ -1,30 +0,0 @@
1From c587012cbe448c9295f50497812ca3530cabbb51 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 11 Aug 2018 14:39:01 -0700
4Subject: [PATCH 2/2] include sys/sysmacros.h
5
6glibc 2.28+ does not include this header implicitly via other system
7headers anymore
8
9src/devicescan.c:373: undefined reference to `makedev'
10
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13 src/devicescan.c | 1 +
14 1 file changed, 1 insertion(+)
15
16diff --git a/src/devicescan.c b/src/devicescan.c
17index 4f2f497..0b2b253 100644
18--- a/src/devicescan.c
19+++ b/src/devicescan.c
20@@ -20,6 +20,7 @@
21 #include <stdlib.h>
22 #include <string.h>
23 #include <sys/types.h>
24+#include <sys/sysmacros.h>
25 #include <sys/stat.h>
26 #include <fcntl.h>
27 #include <unistd.h>
28--
292.18.0
30