aboutsummaryrefslogtreecommitdiff
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
parent85d3192140d1607a3cbf736e28fea2ed60a4413a (diff)
downloadglibc-049cc4855ac09222a460418c9bce589cd12f7294.zip
glibc-049cc4855ac09222a460418c9bce589cd12f7294.tar.gz
glibc-049cc4855ac09222a460418c9bce589cd12f7294.tar.bz2
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>.
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/unix/sysv/linux/alpha/sys/user.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index fe64cc2..d3b4844 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2016-11-17 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
+
2016-11-16 Joseph Myers <joseph@codesourcery.com>
* conform/Makefile (linknamespace-libs): Rename to
diff --git a/sysdeps/unix/sysv/linux/alpha/sys/user.h b/sysdeps/unix/sysv/linux/alpha/sys/user.h
index 1a7c9c4..3d0d76b 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
{