summaryrefslogtreecommitdiff
path: root/chat/icb/patches/patch-bb
blob: 61a468cd65fe348e69d0ca9701191b79b20e50b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-bb,v 1.2 2008/12/17 02:19:59 christos Exp $

--- murgil/getrname.c.orig	1995-02-24 16:19:41.000000000 -0500
+++ murgil/getrname.c	2008-12-16 20:18:00.000000000 -0500
@@ -14,7 +14,7 @@
 {
 	static char rname[24];
 	struct hostent *host;
-#if defined(linux)
+#if defined(linux) || defined(__NetBSD__)
 #define PEER_CAST (struct sockaddr *)
 #define HOST_CAST (char *)
 #else