musl-legacy-compat: add include guards to cdefs.h
This commit is contained in:
parent
4638508fd5
commit
0b4183aa05
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,6 @@
|
||||||
|
#ifndef _SYS_CDEFS_H_
|
||||||
|
#define _SYS_CDEFS_H_
|
||||||
|
|
||||||
#warning usage of non-standard #include <sys/cdefs.h> is deprecated
|
#warning usage of non-standard #include <sys/cdefs.h> is deprecated
|
||||||
|
|
||||||
#undef __P
|
#undef __P
|
||||||
|
@ -27,3 +30,5 @@
|
||||||
|
|
||||||
#define __CONCAT(x,y) x ## y
|
#define __CONCAT(x,y) x ## y
|
||||||
#define __STRING(x) #x
|
#define __STRING(x) #x
|
||||||
|
|
||||||
|
#endif /* _SYS_CDEFS_H_ */
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'musl-legacy-compat'
|
# Template file for 'musl-legacy-compat'
|
||||||
pkgname=musl-legacy-compat
|
pkgname=musl-legacy-compat
|
||||||
version=0.3
|
version=0.3
|
||||||
revision=3
|
revision=4
|
||||||
archs="*-musl"
|
archs="*-musl"
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
short_desc="Legacy compatibility headers for the musl libc"
|
short_desc="Legacy compatibility headers for the musl libc"
|
||||||
|
|
Loading…
Reference in a new issue