Skip to content
Commit 6c934ab2 authored by Hein Wessels's avatar Hein Wessels Committed by Carles Cufí
Browse files

net: ip: only define socklen_t if not already defined



There is a chance that a previous declaration exists of socklen_t
through the unistd.h header. Luckily that header defines a macro
when it defines the type. This commit therefore uses that define to
know if the type has already been declared or not, similar to what
unistd.h does.

Closes #57195

Signed-off-by: default avatarHein Wessels <heinwessels93@gmail.com>
parent 5beb8686
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment