summaryrefslogtreecommitdiff
path: root/net-im/icb/files/patch-o-ab
blob: a5af3884f240625c1dfc17c48fe1246f08d18979 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
*** 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