8ed18b6667
scheme while I'm at it.
13 lines
416 B
Plaintext
13 lines
416 B
Plaintext
$OpenBSD: patch-murgil_getrname_c,v 1.1 2001/05/14 16:42:54 millert Exp $
|
|
--- murgil/getrname.c.orig Fri Feb 24 14:19:41 1995
|
|
+++ murgil/getrname.c Mon May 14 10:33:02 2001
|
|
@@ -14,7 +14,7 @@ int s; /* connected socket fd */
|
|
{
|
|
static char rname[24];
|
|
struct hostent *host;
|
|
-#if defined(linux)
|
|
+#if defined(linux) || defined(__OpenBSD__)
|
|
#define PEER_CAST (struct sockaddr *)
|
|
#define HOST_CAST (char *)
|
|
#else
|