include: Add __socklen_t_defined for compatibility to other C libraries
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
This commit is contained in:
parent
00befc4ec6
commit
5dfb2713f6
|
@ -219,6 +219,7 @@ typedef int16_t blksize_t;
|
||||||
/* Network related */
|
/* Network related */
|
||||||
|
|
||||||
typedef unsigned int socklen_t;
|
typedef unsigned int socklen_t;
|
||||||
|
#define __socklen_t_defined
|
||||||
typedef uint16_t sa_family_t;
|
typedef uint16_t sa_family_t;
|
||||||
|
|
||||||
/* Used for system times in clock ticks. This type is the natural width of
|
/* Used for system times in clock ticks. This type is the natural width of
|
||||||
|
|
Loading…
Reference in New Issue