From c9126b5594219aaca67a4cae7a135648fc922fcd Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Tue, 12 May 2020 08:56:35 -0400 Subject: [PATCH] musl-legacy-compat: add include guards to cdefs.h --- srcpkgs/musl-legacy-compat/files/cdefs.h | 5 +++++ srcpkgs/musl-legacy-compat/template | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/srcpkgs/musl-legacy-compat/files/cdefs.h b/srcpkgs/musl-legacy-compat/files/cdefs.h index 06edf0bf723755..841a5da8ba40a0 100644 --- a/srcpkgs/musl-legacy-compat/files/cdefs.h +++ b/srcpkgs/musl-legacy-compat/files/cdefs.h @@ -1,3 +1,6 @@ +#ifndef _SYS_CDEFS_H_ +#define _SYS_CDEFS_H_ + #warning usage of non-standard #include is deprecated #undef __P @@ -27,3 +30,5 @@ #define __CONCAT(x,y) x ## y #define __STRING(x) #x + +#endif /* _SYS_CDEFS_H_ */ diff --git a/srcpkgs/musl-legacy-compat/template b/srcpkgs/musl-legacy-compat/template index 4c5394dfaad7f9..3c926e315cdee4 100644 --- a/srcpkgs/musl-legacy-compat/template +++ b/srcpkgs/musl-legacy-compat/template @@ -1,7 +1,7 @@ # Template file for 'musl-legacy-compat' pkgname=musl-legacy-compat version=0.3 -revision=3 +revision=4 archs="*-musl" bootstrap=yes short_desc="Legacy compatibility headers for the musl libc"