diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-07-29 22:55:43 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-07-29 23:09:16 -0400 |
commit | 979900af9824932ed1d704323739958f46e08d81 (patch) | |
tree | d8d00c233136363456977b4db69624414d2c02b7 /libio/getchar_u.c | |
parent | a822b0187a0b822554c45a815335f5955f5d4b82 (diff) | |
download | glibc-979900af9824932ed1d704323739958f46e08d81.zip glibc-979900af9824932ed1d704323739958f46e08d81.tar.gz glibc-979900af9824932ed1d704323739958f46e08d81.tar.bz2 |
hppa: fix sysdep.h header setup
The semi-recent SYSCALL_CANCEL inclusion broke hppa due to the sysdep.h
headers not including the unix/sysdep.h headers. Rework the includes so
we match the other ports:
* hppa/sysdep.h:
- Do not include sys/syscall.h as the unix sysdep.h headers do it.
- Do not include config.h as libc-symbols.h does it, and it has no
#ifdef multiple-include protection, and it breaks when some files
do things like #undef __OPTIMIZE__.
* sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h:
- Drop the generic/sysdep.h as the unix sysdep.h headers include it.
* sysdeps/unix/sysv/linux/hppa/sysdep.h:
- Change to the unix & core hppa sysdep header stacks.
- Undef a few defines that the core headers already set up for us.
Diffstat (limited to 'libio/getchar_u.c')
0 files changed, 0 insertions, 0 deletions