From 10471faa7d65314e82c569a3dc607bd3eff3eb1f Mon Sep 17 00:00:00 2001 From: jcea <jcea@jcea.es> Date: Tue, 9 Jan 2018 20:46:11 +0100 Subject: [PATCH] Correctly support IPv6 in Solaris (#17) I can't see how adding one more OS to the manual list can hurt for now, so in goes the PR. Thanks. --- miltermodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miltermodule.c b/miltermodule.c index e64561f..c681005 100644 --- a/miltermodule.c +++ b/miltermodule.c @@ -282,7 +282,7 @@ $ python setup.py help * published. Unfortunately I know of no good way to do this * other than with OS-specific tests. */ -#if defined(__FreeBSD__) || defined(__linux__) +#if defined(__FreeBSD__) || defined(__linux__) || defined(__sun__) #define HAVE_IPV6_RFC2553 #include <arpa/inet.h> #endif -- GitLab