]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
hurd: Fix getting ssize_t for <sys/socket.h>
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 3 Sep 2017 00:22:00 +0000 (02:22 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 3 Sep 2017 00:22:00 +0000 (02:22 +0200)
* sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
just <bits/types.h>.

ChangeLog
sysdeps/mach/hurd/bits/socket.h

index 912a3ce4b652b3c631a51e62185761878a8545d7..cf6866cd11ade2a2d7e793be2a8377a1465644b3 100644 (file)
--- 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>
 
index 6eb09a0ab30c2bd6b2195e94b85aa125ddfb1387..9a412f08337eeb18a5dfb83c8d0aebe2632dd66f 100644 (file)
@@ -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