|
|
|
|
@ -78,8 +78,10 @@ struct sockaddr {
|
|
|
|
|
#endif /* LWIP_IPV6 */ |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
#ifndef socklen_t |
|
|
|
|
# define socklen_t u32_t |
|
|
|
|
/* If your port already typedef's socklen_t, define SOCKLEN_T_DEFINED
|
|
|
|
|
to prevent this code from redefining it. */ |
|
|
|
|
#if !defined(socklen_t) && !defined(SOCKLEN_T_DEFINED) |
|
|
|
|
typedef u32_t socklen_t; |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/* Socket protocol types (TCP/UDP/RAW) */ |
|
|
|
|
|