public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* Make Alpha <sys/user.h> self-contained
@ 2016-11-04 16:47 Joseph Myers
  2016-11-11 15:02 ` Ping " Joseph Myers
  0 siblings, 1 reply; 6+ messages in thread
From: Joseph Myers @ 2016-11-04 16:47 UTC (permalink / raw)
  To: libc-alpha; +Cc: rth

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).

2016-11-04  Joseph Myers  <joseph@codesourcery.com>

	* sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.

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
 {

-- 
Joseph S. Myers
joseph@codesourcery.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-11-17  8:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-04 16:47 Make Alpha <sys/user.h> self-contained Joseph Myers
2016-11-11 15:02 ` Ping " Joseph Myers
2016-11-11 19:41   ` Carlos O'Donell
2016-11-11 21:08     ` Joseph Myers
2016-11-16 18:13   ` Ping^2 " Joseph Myers
2016-11-17  8:25     ` Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).