openbsd-ports/net/icb/patches/patch-ab
brad d3db425848 - convert patches to unified diffs
- merge contents of patch-ad and patch-an into patch-ad
2000-01-16 09:26:46 +00:00

12 lines
307 B
Plaintext

--- 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