summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/src/os.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/src/os.c b/src/src/os.c
index a70bc6115..96ee35562 100644
--- a/src/src/os.c
+++ b/src/src/os.c
@@ -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>