From 8129bf7732decf4472caf8b1c339e4abd072f0ab Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Fri, 11 Nov 2016 21:04:28 +0000 Subject: Make SH self-contained. The check-installed-headers tests show up that the SH is not self-contained, using size_t without including any header that defines it. This patch fixes it by including , as done for other architectures' versions of this header. Tested for SH3 and SH4 (compilation only). * sysdeps/unix/sysv/linux/sh/sys/user.h: Include . --- ChangeLog | 4 ++++ sysdeps/unix/sysv/linux/sh/sys/user.h | 1 + 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index 262069d..7c72585 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2016-11-11 Joseph Myers + + * sysdeps/unix/sysv/linux/sh/sys/user.h: Include . + 2016-11-10 Chris Metcalf * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed) diff --git a/sysdeps/unix/sysv/linux/sh/sys/user.h b/sysdeps/unix/sysv/linux/sh/sys/user.h index 47b87ae..2999b03 100644 --- a/sysdeps/unix/sysv/linux/sh/sys/user.h +++ b/sysdeps/unix/sysv/linux/sh/sys/user.h @@ -19,6 +19,7 @@ #define _SYS_USER_H 1 #include +#include /* asm/ptrace.h polutes the namespace. */ #undef PTRACE_GETREGS -- cgit v1.1