1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-12-24 17:51:17 +03:00

Make MIPS <sys/user.h> self-contained.

The check-installed-headers tests show up that the MIPS <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 MIPS (all 24 ABIs, compilation only).

	* sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
This commit is contained in:
Joseph Myers
2016-11-04 16:44:23 +00:00
parent 7672e712e1
commit 94bf0b4ac9
2 changed files with 3 additions and 0 deletions

View File

@@ -1,5 +1,7 @@
2016-11-04 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
* sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
(test-xfail-check-execstack): New variable.

View File

@@ -19,6 +19,7 @@
#define _SYS_USER_H 1
#include <sgidefs.h>
#include <stddef.h>
/* The whole purpose of this file is for GDB and GDB only. Don't read
too much into it. Don't use it for anything other than GDB unless