mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-07 06:43:00 +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:
@@ -1,3 +1,7 @@
|
|||||||
|
2016-11-11 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
|
||||||
|
|
||||||
2016-11-10 Chris Metcalf <cmetcalf@mellanox.com>
|
2016-11-10 Chris Metcalf <cmetcalf@mellanox.com>
|
||||||
|
|
||||||
* sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
|
* sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
|
||||||
|
@@ -19,6 +19,7 @@
|
|||||||
#define _SYS_USER_H 1
|
#define _SYS_USER_H 1
|
||||||
|
|
||||||
#include <asm/ptrace.h>
|
#include <asm/ptrace.h>
|
||||||
|
#include <stddef.h>
|
||||||
|
|
||||||
/* asm/ptrace.h polutes the namespace. */
|
/* asm/ptrace.h polutes the namespace. */
|
||||||
#undef PTRACE_GETREGS
|
#undef PTRACE_GETREGS
|
||||||
|
Reference in New Issue
Block a user