glibc/misc/sys
Serge Hallyn fdbe8eae2b misc/sys/xattr.h: guard against linux uapi header inclusion
If the glibc xattr.h header is included after the uapi header,
compilation fails due to an enum re-using a #define from the
uapi header.  Protect against this by guarding the define and
enum inclusions against each other.

(A corresponding kernel patch has been sent here:
http://lkml.org/lkml/2014/3/7/331 )

(See https://lists.debian.org/debian-glibc/2014/03/msg00029.html
and https://sourceware.org/glibc/wiki/Synchronizing_Headers
for more information.)

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
2014-03-18 14:27:56 +01:00
..
auxv.h
cdefs.h
dir.h
file.h
ioctl.h
mman.h
param.h
queue.h
select.h misc/sys/select.h (__FD_MASK): Avoid signed integer overflow. 2014-02-25 14:56:10 +01:00
syslog.h
uio.h
ustat.h
xattr.h misc/sys/xattr.h: guard against linux uapi header inclusion 2014-03-18 14:27:56 +01:00