summaryrefslogtreecommitdiff
path: root/security/openssh/patches/patch-ax
blob: 0d3cbaafe7ab1789d54dad6d728ae89b09b9c3be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-ax,v 1.3 2007/03/16 05:46:07 cjs Exp $

# http://bugzilla.mindrot.org/show_bug.cgi?id=1299

--- openbsd-compat/getrrsetbyname.c.orig	2006-09-02 14:32:40.000000000 +0900
+++ openbsd-compat/getrrsetbyname.c	2007-03-16 14:07:32.000000000 +0900
@@ -67,14 +67,6 @@
 #endif
 #define _THREAD_PRIVATE(a,b,c) (c)
 
-/* to avoid conflicts where a platform already has _res */
-#ifdef _res
-# undef _res
-#endif
-#define _res	_compat_res
-
-struct __res_state _res;
-
 /* Necessary functions and macros */
 
 /*