diff options
Diffstat (limited to 'bits/socket.h')
-rw-r--r-- | bits/socket.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bits/socket.h b/bits/socket.h index 7828d01bb3..4f29d83d78 100644 --- a/bits/socket.h +++ b/bits/socket.h @@ -31,7 +31,10 @@ #include <stddef.h> /* Type for length arguments in socket calls. */ -typedef unsigned int socklen_t; +#ifndef __socklen_t_defined +typedef __socklen_t socklen_t; +# define __socklen_t_defined +#endif /* Types of sockets. */ |