aboutsummaryrefslogtreecommitdiffstats
path: root/net/icb/files/patch-o-ab
diff options
context:
space:
mode:
Diffstat (limited to 'net/icb/files/patch-o-ab')
-rw-r--r--net/icb/files/patch-o-ab19
1 files changed, 19 insertions, 0 deletions
diff --git a/net/icb/files/patch-o-ab b/net/icb/files/patch-o-ab
new file mode 100644
index 000000000000..a5af3884f240
--- /dev/null
+++ b/net/icb/files/patch-o-ab
@@ -0,0 +1,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