Fix ipv6-less build
[exim.git] / src / src / spf.h
index 0d982f336bcf732aff1f8e864d602821ad70eb54..a0779f87cff8a730082093a94d9a402aa0048515 100644 (file)
@@ -8,10 +8,10 @@
    Copyright (c) The Exim Maintainers 2016
 */
 
-#ifdef EXPERIMENTAL_SPF
+#ifdef SUPPORT_SPF
 
 /* Yes, we do have ns_type. spf.h redefines it if we don't set this. Doh */
-#ifndef HAVE_NS_TYPE
+#if !defined(HAVE_NS_TYPE) && defined(NS_INADDRSZ)
 # define HAVE_NS_TYPE
 #endif
 #include <spf2/spf.h>