summary refs log tree commit diff
path: root/posix/sys
diff options
context:
space:
mode:
Diffstat (limited to 'posix/sys')
-rw-r--r--posix/sys/types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/posix/sys/types.h b/posix/sys/types.h
index f49c996a04..131966029e 100644
--- a/posix/sys/types.h
+++ b/posix/sys/types.h
@@ -68,6 +68,7 @@ typedef __key_t key_t;
 
 #define	__need_size_t
 #include <stddef.h>
+typedef size_t socklen_t;
 
 #ifdef __USE_MISC
 /* Old compatibility names for C types.  */