summaryrefslogtreecommitdiff
path: root/net/host/patches/patch-ac
blob: 5fef625773c78d1cf9d4dc91952c24587445c7d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ac,v 1.5 2017/09/20 11:18:13 jperkin Exp $

IRIX support.

--- host.h.orig	2006-10-03 15:54:29.000000000 +0200
+++ host.h	2006-10-03 15:55:13.000000000 +0200
@@ -151,7 +151,7 @@
 extern int h_errno;			/* defined in the resolver library */
 #endif
 
-#ifndef _res
+#if !defined(_res) && !defined(IRIX5)
 extern res_state_t _res;		/* defined in res_init.c */
 #endif