- fix warnings for missing prototypes - use termios instead of sgtty (why doesn't this work on amd64?)
13 lines
388 B
Text
13 lines
388 B
Text
$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
|