about summary refs log tree commit diff
path: root/include/resolv.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/resolv.h')
-rw-r--r--include/resolv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/resolv.h b/include/resolv.h
index 8ad713e96c..b9ed35e977 100644
--- a/include/resolv.h
+++ b/include/resolv.h
@@ -20,6 +20,7 @@ extern __thread struct __res_state _res;
 #  endif
 # else
 #  ifndef __BIND_NOSTATIC
+#   undef _res
 extern struct __res_state _res;
 #  endif
 # endif