public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [hurd,commited] hurd: Fix getting ssize_t for <sys/socket.h>
@ 2017-09-03  0:33 Samuel Thibault
  0 siblings, 0 replies; only message in thread
From: Samuel Thibault @ 2017-09-03  0:33 UTC (permalink / raw)
  To: libc-alpha; +Cc: Samuel Thibault

	* sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
	just <bits/types.h>.
---
 ChangeLog                       | 2 ++
 sysdeps/mach/hurd/bits/socket.h | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 912a3ce4b6..cf6866cd11 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,8 @@
 	* sysdeps/generic/sigsetops.h: Remove spurious #endif.
 	(__sigismember, __sigaddset, __sigdelset): Fix referencing set
 	parameter.
+	* sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
+	just <bits/types.h>.
 
 2017-09-01  Joseph Myers  <joseph@codesourcery.com>
 
diff --git a/sysdeps/mach/hurd/bits/socket.h b/sysdeps/mach/hurd/bits/socket.h
index 6eb09a0ab3..9a412f0833 100644
--- a/sysdeps/mach/hurd/bits/socket.h
+++ b/sysdeps/mach/hurd/bits/socket.h
@@ -29,7 +29,7 @@
 #include <stddef.h>
 
 #include <limits.h>		/* XXX Is this allowed?  */
-#include <bits/types.h>
+#include <sys/types.h>
 
 /* Type for length arguments in socket calls.  */
 #ifndef __socklen_t_defined
-- 
2.14.1

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-09-03  0:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-03  0:33 [hurd,commited] hurd: Fix getting ssize_t for <sys/socket.h> Samuel Thibault

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