diff options
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.patch | 30 |
1 files changed, 30 insertions, 0 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 new file mode 100644 index 0000000000..f12ae99e72 --- /dev/null +++ b/meta-initramfs/recipes-bsp/kexecboot/files/0002-include-sys-sysmacros.h.patch | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | From c587012cbe448c9295f50497812ca3530cabbb51 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Sat, 11 Aug 2018 14:39:01 -0700 | ||
| 4 | Subject: [PATCH 2/2] include sys/sysmacros.h | ||
| 5 | |||
| 6 | glibc 2.28+ does not include this header implicitly via other system | ||
| 7 | headers anymore | ||
| 8 | |||
| 9 | src/devicescan.c:373: undefined reference to `makedev' | ||
| 10 | |||
| 11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 12 | --- | ||
| 13 | src/devicescan.c | 1 + | ||
| 14 | 1 file changed, 1 insertion(+) | ||
| 15 | |||
| 16 | diff --git a/src/devicescan.c b/src/devicescan.c | ||
| 17 | index 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 | -- | ||
| 29 | 2.18.0 | ||
| 30 | |||
