diff options
Diffstat (limited to 'openbsd-compat')
-rw-r--r-- | openbsd-compat/getrrsetbyname.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/openbsd-compat/getrrsetbyname.c b/openbsd-compat/getrrsetbyname.c index bea6aea3b..8dc744703 100644 --- a/openbsd-compat/getrrsetbyname.c +++ b/openbsd-compat/getrrsetbyname.c | |||
@@ -60,6 +60,10 @@ extern int h_errno; | |||
60 | # undef _THREAD_PRIVATE | 60 | # undef _THREAD_PRIVATE |
61 | #endif | 61 | #endif |
62 | #define _THREAD_PRIVATE(a,b,c) (c) | 62 | #define _THREAD_PRIVATE(a,b,c) (c) |
63 | |||
64 | /* to avoid conflicts where a platform already has _res */ | ||
65 | #define _res _compat_res | ||
66 | |||
63 | struct __res_state _res; | 67 | struct __res_state _res; |
64 | 68 | ||
65 | /* Necessary functions and macros */ | 69 | /* Necessary functions and macros */ |