diff --git a/miltermodule.c b/miltermodule.c index 069c31666dc20c96cd875504a537f328a8d5b2da..fb2e989c9192f82d09be68b69fb37db93674cd57 100644 --- a/miltermodule.c +++ b/miltermodule.c @@ -71,7 +71,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__) +#if defined(__FreeBSD__) || defined(__linux__) || defined(__sun__) || defined(__GLIBC__) || (defined(__APPLE__) && defined(__MACH__)) #define HAVE_IPV6_RFC2553 #include <arpa/inet.h> #endif