From 4a8018c2de882688054cdba9461ac518a53ac57d Mon Sep 17 00:00:00 2001 From: Jean-Yves Date: Wed, 5 Jun 2024 14:18:15 +0200 Subject: [PATCH] Welcome __NetBSD__ to the required header include. (#60) Same rule applies for NetBSD as FreeBSD, include is needed to provide inet_nto*() prototypes. --- miltermodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miltermodule.c b/miltermodule.c index e8f6463..c15444a 100644 --- a/miltermodule.c +++ b/miltermodule.c @@ -72,7 +72,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__) || defined(__sun__) || defined(__GLIBC__) || (defined(__APPLE__) && defined(__MACH__)) +#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__linux__) || defined(__sun__) || defined(__GLIBC__) || (defined(__APPLE__) && defined(__MACH__)) #define HAVE_IPV6_RFC2553 #include #endif