From 5dfb2713f64b88dc477354b779dc477848f6afe7 Mon Sep 17 00:00:00 2001 From: Gustavo Henrique Nihei Date: Tue, 9 Nov 2021 09:02:24 -0300 Subject: [PATCH] include: Add __socklen_t_defined for compatibility to other C libraries Signed-off-by: Gustavo Henrique Nihei --- include/sys/types.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/sys/types.h b/include/sys/types.h index f1f655de7e..4ae38c5c26 100644 --- a/include/sys/types.h +++ b/include/sys/types.h @@ -219,6 +219,7 @@ typedef int16_t blksize_t; /* Network related */ typedef unsigned int socklen_t; +#define __socklen_t_defined typedef uint16_t sa_family_t; /* Used for system times in clock ticks. This type is the natural width of