add additional uapi guards for Linux kernel header files
With Linux kernel 4.16 it will be possible to guard more parts of the
Linux header files from a libc. Make use of this in musl to guard all
the structures and other definitions from the Linux header files which
are also defined by the header files provided by musl. This will make
it possible to compile source files which include both the libc
headers and the kernel userspace headers.
This extends the definitions done in commit 04983f2272 ("make
netinet/in.h suppress clashing definitions from kernel headers")
This commit is contained in:
1 parent
628cf979b2
commit
b583c5d3b4
3 files changed
+10
No files matched your search
@@ -24,6 +24,8 @@ int removexattr(const char *, const char *);
|
||||
int lremovexattr(const char *, const char *);
|
||||
int fremovexattr(int, const char *);
|
||||
|
||||
#define __UAPI_DEF_XATTR 0
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user