summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2016-11-17 14:15:03 +0000
committerJoseph Myers <joseph@codesourcery.com>2016-11-17 14:15:03 +0000
commit049cc4855ac09222a460418c9bce589cd12f7294 (patch)
tree6a73fa1b92fed9e9fdb149034f3a814c2590628a /sysdeps
parent85d3192140d1607a3cbf736e28fea2ed60a4413a (diff)
downloadglibc-049cc4855ac09222a460418c9bce589cd12f7294.tar.gz
glibc-049cc4855ac09222a460418c9bce589cd12f7294.tar.xz
glibc-049cc4855ac09222a460418c9bce589cd12f7294.zip
Make Alpha <sys/user.h> self-contained.
The check-installed-headers tests show up that the Alpha <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 Alpha (compilation only).

	* sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/alpha/sys/user.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/alpha/sys/user.h b/sysdeps/unix/sysv/linux/alpha/sys/user.h
index 1a7c9c4889..3d0d76bc73 100644
--- a/sysdeps/unix/sysv/linux/alpha/sys/user.h
+++ b/sysdeps/unix/sysv/linux/alpha/sys/user.h
@@ -23,6 +23,7 @@
    than gdb/strace unless you know what you are doing. */
 
 #include <asm/reg.h>
+#include <stddef.h>
 
 struct user
 {