- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
31 lines
869 B
Diff
31 lines
869 B
Diff
From d966d52d1e569cbc2293d841285e2b8941f28c61 Mon Sep 17 00:00:00 2001
|
|
From: Khem Raj <raj.khem@gmail.com>
|
|
Date: Sun, 9 Jul 2017 15:56:28 -0700
|
|
Subject: [PATCH] include linux/sysinfo.h directly
|
|
|
|
This is done to avoid the kernel header linux/kernel.h to use
|
|
__GLIBC__ define to decide on if libc implements sysinfo() API
|
|
or not. Kernel headers should be independent of such assumptions
|
|
but until its done in right place, change the local header
|
|
override to avoid this assumption
|
|
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
---
|
|
Upstream-Status: Pending
|
|
|
|
usr/include/sys/sysinfo.h | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/usr/include/sys/sysinfo.h
|
|
+++ b/usr/include/sys/sysinfo.h
|
|
@@ -6,7 +6,7 @@
|
|
#define _SYS_SYSINFO_H
|
|
|
|
#include <sys/types.h>
|
|
-#include <linux/kernel.h>
|
|
+#include <linux/sysinfo.h>
|
|
|
|
extern int sysinfo(struct sysinfo *info);
|
|
|