1From 5229430874b5275547babdbef1e322922317456d Mon Sep 17 00:00:00 2001 2From: Khem Raj <raj.khem@gmail.com> 3Date: Thu, 25 Jul 2019 23:30:27 -0700 4Subject: [PATCH 19/19] libfdt: Undefine __wordsize if already defined 5 6glibc 2.30+ defines __wordsize, which is same so its easier to compile 7for multiple versions of glibc even ones which does not have this define 8 9Signed-off-by: Khem Raj <raj.khem@gmail.com> 10--- 11 opensrc/helpers/libfdt/libfdt_env.h | 4 ++++ 12 1 file changed, 4 insertions(+) 13 14diff --git a/opensrc/helpers/libfdt/libfdt_env.h b/opensrc/helpers/libfdt/libfdt_env.h 15index 1c966b8..fc25ca6 100644 16--- a/opensrc/helpers/libfdt/libfdt_env.h 17+++ b/opensrc/helpers/libfdt/libfdt_env.h 18@@ -56,6 +56,10 @@ 19 #include <stdint.h> 20 #include <string.h> 21 22+#ifdef __bitwise 23+#undef __bitwise 24+#endif 25+ 26 #ifdef __CHECKER__ 27 #define __force __attribute__((force)) 28 #define __bitwise __attribute__((bitwise)) 29-- 302.22.0 31 32