1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00

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>.
This commit is contained in:
Joseph Myers
2016-11-11 21:04:28 +00:00
parent a329844ff8
commit 8129bf7732
2 changed files with 5 additions and 0 deletions

View File

@ -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