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 Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
cdefs.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
dir.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
file.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
ioctl.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
mman.h Combine __USE_BSD and __USE_SVID into __USE_MISC. 2014-02-12 23:41:01 +00:00
param.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
queue.h
select.h misc/sys/select.h (__FD_MASK): Avoid signed integer overflow. 2014-02-25 14:56:10 +01:00
syslog.h Combine __USE_BSD and __USE_SVID into __USE_MISC. 2014-02-12 23:41:01 +00:00
uio.h Complete _BSD_SOURCE / _SVID_source followup cleanup. 2014-02-21 21:45:26 +00:00
ustat.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
xattr.h misc/sys/xattr.h: guard against linux uapi header inclusion 2014-03-18 14:27:56 +01:00