about summary refs log tree commit diff
path: root/sysdeps/hppa
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-07-29 22:55:43 -0400
committerMike Frysinger <vapier@gentoo.org>2015-07-29 23:09:16 -0400
commit979900af9824932ed1d704323739958f46e08d81 (patch)
treed8d00c233136363456977b4db69624414d2c02b7 /sysdeps/hppa
parenta822b0187a0b822554c45a815335f5955f5d4b82 (diff)
downloadglibc-979900af9824932ed1d704323739958f46e08d81.tar.gz
glibc-979900af9824932ed1d704323739958f46e08d81.tar.xz
glibc-979900af9824932ed1d704323739958f46e08d81.zip
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 'sysdeps/hppa')
-rw-r--r--sysdeps/hppa/sysdep.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sysdeps/hppa/sysdep.h b/sysdeps/hppa/sysdep.h
index 03fb2a42b3..366b83093f 100644
--- a/sysdeps/hppa/sysdep.h
+++ b/sysdeps/hppa/sysdep.h
@@ -18,8 +18,6 @@
    <http://www.gnu.org/licenses/>.  */
 
 #include <sysdeps/generic/sysdep.h>
-#include <sys/syscall.h>
-#include "config.h"
 
 #undef ASM_LINE_SEP
 #define ASM_LINE_SEP !