diff options
author | Joseph Myers <joseph@codesourcery.com> | 2016-11-11 21:04:28 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2016-11-11 21:04:28 +0000 |
commit | 8129bf7732decf4472caf8b1c339e4abd072f0ab (patch) | |
tree | a829c3eb952de05aacc2a0dcc84b28444c3a5f5c /sysdeps/unix/sysv | |
parent | a329844ff8adaffc25343a6f9bb12a3a9e841018 (diff) | |
download | glibc-8129bf7732decf4472caf8b1c339e4abd072f0ab.tar.gz glibc-8129bf7732decf4472caf8b1c339e4abd072f0ab.tar.xz glibc-8129bf7732decf4472caf8b1c339e4abd072f0ab.zip |
Make SH <sys/user.h> self-contained.
The check-installed-headers tests show up that the SH <sys/user.h> is not self-contained, using size_t without including any header that defines it. This patch fixes it by including <stddef.h>, 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 <stddef.h>.
Diffstat (limited to 'sysdeps/unix/sysv')
-rw-r--r-- | sysdeps/unix/sysv/linux/sh/sys/user.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/sh/sys/user.h b/sysdeps/unix/sysv/linux/sh/sys/user.h index 47b87aede9..2999b03e68 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 <asm/ptrace.h> +#include <stddef.h> /* asm/ptrace.h polutes the namespace. */ #undef PTRACE_GETREGS |