summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2016-11-04 16:44:23 +0000
committerJoseph Myers <joseph@codesourcery.com>2016-11-04 16:44:23 +0000
commit94bf0b4ac995cf0628186334083c9ddeac29a830 (patch)
tree86974443cddba21b814a7b98c54216208af741b5 /sysdeps
parent7672e712e1cd91a9252bb9db8ac1d9b528e19f2e (diff)
downloadglibc-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>.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/mips/sys/user.h1
1 files changed, 1 insertions, 0 deletions
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