about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/bits/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/bits/socket.h')
-rw-r--r--sysdeps/mach/hurd/bits/socket.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/sysdeps/mach/hurd/bits/socket.h b/sysdeps/mach/hurd/bits/socket.h
index ff898aa188..06a731184b 100644
--- a/sysdeps/mach/hurd/bits/socket.h
+++ b/sysdeps/mach/hurd/bits/socket.h
@@ -29,13 +29,7 @@
 
 #include <bits/wordsize.h>
 #include <sys/types.h>
-
-/* Type for length arguments in socket calls.  */
-#ifndef __socklen_t_defined
-typedef __socklen_t socklen_t;
-# define __socklen_t_defined
-#endif
-
+#include <bits/types/socklen_t.h>
 
 /* Types of sockets.  */
 enum __socket_type