summaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd/bits
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2017-09-03 02:22:00 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2017-09-03 02:22:00 +0200
commit01969395db01fedcd3fb76d76654b24908e5757b (patch)
tree9ebe119f8cee7755d88154cb4dd42b103483c073 /sysdeps/mach/hurd/bits
parent06cf9d31d7caa408b35f194cdbdc17462eb935c2 (diff)
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>.
Diffstat (limited to 'sysdeps/mach/hurd/bits')
-rw-r--r--sysdeps/mach/hurd/bits/socket.h2
1 files changed, 1 insertions, 1 deletions
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