summaryrefslogtreecommitdiff
path: root/openbsd-compat
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd-compat')
-rw-r--r--openbsd-compat/getrrsetbyname.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsd-compat/getrrsetbyname.c b/openbsd-compat/getrrsetbyname.c
index 8dc744703..a855ad6d5 100644
--- a/openbsd-compat/getrrsetbyname.c
+++ b/openbsd-compat/getrrsetbyname.c
@@ -62,6 +62,9 @@ extern int h_errno;
62#define _THREAD_PRIVATE(a,b,c) (c) 62#define _THREAD_PRIVATE(a,b,c) (c)
63 63
64/* to avoid conflicts where a platform already has _res */ 64/* to avoid conflicts where a platform already has _res */
65#ifdef _res
66# undef _res
67#endif
65#define _res _compat_res 68#define _res _compat_res
66 69
67struct __res_state _res; 70struct __res_state _res;