musl-legacy-compat: add include guards to cdefs.h

This commit is contained in:
Andrew J. Hesford 2020-05-12 08:56:35 -04:00 committed by Helmut Pozimski
parent 4638508fd5
commit 0b4183aa05
2 changed files with 6 additions and 1 deletions

View file

@ -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
@ -27,3 +30,5 @@
#define __CONCAT(x,y) x ## y
#define __STRING(x) #x
#endif /* _SYS_CDEFS_H_ */

View file

@ -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"