Message ID | 20230922210508.24087-2-raj.khem@gmail.com |
---|---|
State | Accepted, archived |
Commit | 0796d65369737ddf530a04ae534e81022c1ba005 |
Headers | show |
Series | [v3,1/5] musl: Update to latest | expand |
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 <sys/cdefs.h> 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_ */
Sync with other musl distros Signed-off-by: Khem Raj <raj.khem@gmail.com> --- v3: Rebased meta/recipes-core/musl/bsd-headers/sys-cdefs.h | 8 ++++++++ 1 file changed, 8 insertions(+)