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:
@ -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
|
||||
|
Reference in New Issue
Block a user