diff options
author | Joseph Myers <joseph@codesourcery.com> | 2016-11-04 16:44:23 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2016-11-04 16:44:23 +0000 |
commit | 94bf0b4ac995cf0628186334083c9ddeac29a830 (patch) | |
tree | 86974443cddba21b814a7b98c54216208af741b5 | |
parent | 7672e712e1cd91a9252bb9db8ac1d9b528e19f2e (diff) | |
download | glibc-94bf0b4ac995cf0628186334083c9ddeac29a830.tar.gz glibc-94bf0b4ac995cf0628186334083c9ddeac29a830.tar.xz glibc-94bf0b4ac995cf0628186334083c9ddeac29a830.zip |
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>.
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/mips/sys/user.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index babd209bf7..80b3c1b2ab 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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. diff --git a/sysdeps/unix/sysv/linux/mips/sys/user.h b/sysdeps/unix/sysv/linux/mips/sys/user.h index b240438d0a..f3547d9085 100644 --- a/sysdeps/unix/sysv/linux/mips/sys/user.h +++ b/sysdeps/unix/sysv/linux/mips/sys/user.h @@ -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 |