1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-13 23:36:08 +00:00
freebsd-ports/net/icb/files/patch-o-ab
1998-05-25 23:23:36 +00:00

20 lines
475 B
Plaintext

*** murgil/getrname.c.orig Wed May 6 18:43:56 1998
--- murgil/getrname.c Wed May 6 18:45:17 1998
***************
*** 14,20 ****
{
static char rname[24];
struct hostent *host;
! #if defined(linux)
#define PEER_CAST (struct sockaddr *)
#define HOST_CAST (char *)
#else
--- 14,20 ----
{
static char rname[24];
struct hostent *host;
! #if defined(linux) || defined(__OpenBSD__)
#define PEER_CAST (struct sockaddr *)
#define HOST_CAST (char *)
#else