From 76125b56b3ab6bbc304e042b52b57b6c4e850d6e Mon Sep 17 00:00:00 2001 From: Roberto Acevedo Date: Mon, 10 Jun 2024 20:36:43 -0600 Subject: [PATCH] Update unix.c Added check to compile in Haiku --- unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unix.c b/unix.c index e27a51f5..ef9e426d 100644 --- a/unix.c +++ b/unix.c @@ -164,7 +164,7 @@ #include #endif -#if !defined(HAS_SOCKLEN_T) && !defined(__socklen_t_defined) +#if !defined(HAS_SOCKLEN_T) && !defined(__socklen_t_defined) && !defined(__HAIKU__) typedef int socklen_t; #endif