]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Make Alpha <sys/user.h> self-contained.
authorJoseph Myers <joseph@codesourcery.com>
Thu, 17 Nov 2016 14:15:03 +0000 (14:15 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Thu, 17 Nov 2016 14:15:03 +0000 (14:15 +0000)
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>.

ChangeLog
sysdeps/unix/sysv/linux/alpha/sys/user.h

index fe64cc2d65d9df6e5b2c44be2415417b50b3f93c..d3b484484498623b0c246f470648fea39fd80afe 100644 (file)
--- 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
index 1a7c9c4889e4a5fedf026449b6d3e1d3afb61d43..3d0d76bc732b6de0416868d2f7b66cc1a244831b 100644 (file)
@@ -23,6 +23,7 @@
    than gdb/strace unless you know what you are doing. */
 
 #include <asm/reg.h>
+#include <stddef.h>
 
 struct user
 {