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:
Gustavo Henrique Nihei 2021-11-09 09:02:24 -03:00 committed by Xiang Xiao
parent 00befc4ec6
commit 5dfb2713f6
1 changed files with 1 additions and 0 deletions

View File

@ -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