2013-09-26 17:14:40 +02:00

14 lines
388 B
Plaintext

$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