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

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