hurd: Fix getting ssize_t for <sys/socket.h>

* sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
	just <bits/types.h>.
This commit is contained in:
Samuel Thibault 2017-09-03 02:22:00 +02:00
parent 06cf9d31d7
commit 01969395db
2 changed files with 3 additions and 1 deletions

View File

@ -3,6 +3,8 @@
* sysdeps/generic/sigsetops.h: Remove spurious #endif. * sysdeps/generic/sigsetops.h: Remove spurious #endif.
(__sigismember, __sigaddset, __sigdelset): Fix referencing set (__sigismember, __sigaddset, __sigdelset): Fix referencing set
parameter. 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> 2017-09-01 Joseph Myers <joseph@codesourcery.com>

View File

@ -29,7 +29,7 @@
#include <stddef.h> #include <stddef.h>
#include <limits.h> /* XXX Is this allowed? */ #include <limits.h> /* XXX Is this allowed? */
#include <bits/types.h> #include <sys/types.h>
/* Type for length arguments in socket calls. */ /* Type for length arguments in socket calls. */
#ifndef __socklen_t_defined #ifndef __socklen_t_defined