From 0796d65369737ddf530a04ae534e81022c1ba005 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 22 Sep 2023 14:05:05 -0700 Subject: [PATCH] bsd-headers: Define __CONCAT and __STRING Sync with other musl distros Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- meta/recipes-core/musl/bsd-headers/sys-cdefs.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/meta/recipes-core/musl/bsd-headers/sys-cdefs.h b/meta/recipes-core/musl/bsd-headers/sys-cdefs.h index 209a623c0f0..841a5da8ba4 100644 --- a/meta/recipes-core/musl/bsd-headers/sys-cdefs.h +++ b/meta/recipes-core/musl/bsd-headers/sys-cdefs.h @@ -1,3 +1,6 @@ +#ifndef _SYS_CDEFS_H_ +#define _SYS_CDEFS_H_ + #warning usage of non-standard #include is deprecated #undef __P @@ -24,3 +27,8 @@ # define __THROW # define __NTH(fct) fct #endif + +#define __CONCAT(x,y) x ## y +#define __STRING(x) #x + +#endif /* _SYS_CDEFS_H_ */ -- 2.47.3