Documentation/Tests for CVE-2014-2972 fix
[exim.git] / src / src / os.c
index a70bc61158a34e08a2fa1e8cd3540529b3b1ec76..6e02b8fe298099e96323d39d435ab63107f3c189 100644 (file)
@@ -2,7 +2,7 @@
 *     Exim - an Internet mail transport agent    *
 *************************************************/
 
-/* Copyright (c) University of Cambridge 1995 - 2009 */
+/* Copyright (c) University of Cambridge 1995 - 2012 */
 /* See the file NOTICE for conditions of use and distribution. */
 
 #ifdef STAND_ALONE
@@ -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. */
 
-#ifndef OS_GET_DNS_RESOLVER_RES
+#if !defined(OS_GET_DNS_RESOLVER_RES) && !defined(COMPILE_UTILITY)
 
 #include <resolv.h>