Index: src/main/listen.c
--- src/main/listen.c.orig
+++ src/main/listen.c
@@ -55,11 +55,9 @@ RCSID("$Id: patch-src_main_listen_c,v 1.1 2023/05/27 08:04:18 sthen Exp $
 #ifdef WITH_TLS
 #include <netinet/tcp.h>
 
-#  ifdef __APPLE__
 #    if !defined(SOL_TCP) && defined(IPPROTO_TCP)
 #      define SOL_TCP IPPROTO_TCP
 #    endif
-#  endif
 
 #endif
 
