From e8dbb360fb4420b013a7b14813ed25b5287df71a Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Sun, 25 Apr 2021 23:50:39 -0400 Subject: better socklen_t detection --- unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unix.c b/unix.c index a636f03..491a259 100644 --- a/unix.c +++ b/unix.c @@ -53,7 +53,7 @@ #include #endif -#ifndef HAS_SOCKLEN_T +#if !defined(HAS_SOCKLEN_T) && !defined(__socklen_t_defined) typedef int socklen_t; #endif -- cgit v1.2.3