SPF: better buld compatibility with OpenBSD
[exim.git] / src / src / spf.h
index 23ad325f17b854bc1a452545754cad72355ea132..a0779f87cff8a730082093a94d9a402aa0048515 100644 (file)
@@ -11,7 +11,7 @@
 #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>