Files
tqma6-yocto-mirror/sources/meta-openembedded/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.0.2/0004-mtd-utils-common.h-no-features.h-for-klibc-builds.patch
Siggi (OpenClaw Agent) 16accb6b24 Complete Yocto mirror with license table for TQMa6UL (2038-compliance)
- 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)
2026-03-01 21:14:11 +00:00

39 lines
946 B
Diff

From ae1cf6d0eb1833e46549328a4473222c259723d7 Mon Sep 17 00:00:00 2001
From: Andrea Adami <andrea.adami@gmail.com>
Date: Thu, 1 Feb 2018 00:25:00 +0100
Subject: [PATCH] mtd-utils: common.h: no features.h for klibc builds
Add guard around features.h to fix missing include (here first error):
../git/include/common.h:29:10:
fatal error: features.h: No such file or directory
#include <features.h>
^~~~~~~~~~~~
compilation terminated
Upstream-Status: Submitted
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
---
include/common.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/common.h b/include/common.h
index 642c212..f7c71fe 100644
--- a/include/common.h
+++ b/include/common.h
@@ -26,7 +26,10 @@
#include <string.h>
#include <fcntl.h>
#include <errno.h>
+#if defined(__KLIBC__)
+#else
#include <features.h>
+#endif
#include <inttypes.h>
#include <unistd.h>
#include <sys/sysmacros.h>
--
2.7.4