Unbreak build on Solaris.
[exim.git] / src / src / os.c
index a70bc61158a34e08a2fa1e8cd3540529b3b1ec76..96ee35562985ea6eb07d664696a7a483d2f5eb30 100644 (file)
@@ -807,7 +807,7 @@ directly, instead making you call a function per thread to get a handle.
 Other OSs handle thread-safe resolver differently, in ways which fail if the
 programmer creates their own structs. */
 
 Other OSs handle thread-safe resolver differently, in ways which fail if the
 programmer creates their own structs. */
 
-#ifndef OS_GET_DNS_RESOLVER_RES
+#if !defined(OS_GET_DNS_RESOLVER_RES) && !defined(COMPILE_UTILITY)
 
 #include <resolv.h>
 
 
 #include <resolv.h>