summaryrefslogtreecommitdiff
path: root/net/host/patches/patch-aa
blob: fe4c2a9f38f54857282cca76b40b8f89fc3eb4be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-aa,v 1.3 2005/03/26 05:19:20 christos Exp $

--- port.h.orig	2003-06-04 21:00:07.000000000 -0400
+++ port.h	2005-03-24 16:00:55.000000000 -0500
@@ -154,7 +154,8 @@
  */
 #if defined(__NAMESER) && (!defined(__GLIBC__) || ((__RES - 0) > 19991006)) && \
 	((__NAMESER - 0) >= 19991006 || \
-	 (defined(__FreeBSD__) && (__NAMESER - 0) >= 19961001))
+	 (defined(__FreeBSD__) && (__NAMESER - 0) >= 19961001)) && \
+	 !defined(__NetBSD__)
 # define HAVE_GETIPNODEBYNAME	1
 # define HAVE_GETIPNODEBYADDR	1
 # define HAVE_FREEHOSTENT	1