]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
build on Solaris, too. Fixes #5448
authorAlan T. DeKok <aland@freeradius.org>
Mon, 15 Apr 2024 15:42:39 +0000 (11:42 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 16 Oct 2024 16:34:27 +0000 (12:34 -0400)
src/main/listen.c

index 6cda245ef05d15cdbeb4a140e8bf21dc79c79775..c313e0233c8cbd20e4db5daea847648914722019 100644 (file)
@@ -55,7 +55,7 @@ RCSID("$Id$")
 #ifdef WITH_TLS
 #include <netinet/tcp.h>
 
-#  if defined(__APPLE__) || defined(__FreeBSD__)
+#  if defined(__APPLE__) || defined(__FreeBSD__) || defined(__illumos__) || defined(__sun__)
 #    if !defined(SOL_TCP) && defined(IPPROTO_TCP)
 #      define SOL_TCP IPPROTO_TCP
 #    endif