--- murgil/getrname.c.orig	Fri Feb 24 16:19:41 1995
+++ murgil/getrname.c	Sun Jan 16 01:35:00 2000
@@ -14,7 +14,7 @@
 {
 	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
