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