aboutsummaryrefslogtreecommitdiffstats
path: root/net/beacon/files/patch-Net-RTP-0.4::inet_ntop.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/beacon/files/patch-Net-RTP-0.4::inet_ntop.h')
-rw-r--r--net/beacon/files/patch-Net-RTP-0.4::inet_ntop.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/net/beacon/files/patch-Net-RTP-0.4::inet_ntop.h b/net/beacon/files/patch-Net-RTP-0.4::inet_ntop.h
new file mode 100644
index 00000000000..e9ca6f5f9cc
--- /dev/null
+++ b/net/beacon/files/patch-Net-RTP-0.4::inet_ntop.h
@@ -0,0 +1,14 @@
+--- Net-RTP-0.4/inet_ntop.h.orig Tue Mar 2 14:00:58 2004
++++ Net-RTP-0.4/inet_ntop.h Tue Mar 2 14:02:27 2004
+@@ -3,7 +3,11 @@
+ extern "C" {
+ #endif
+
++#ifdef __sparc64__ || __amd64__ || __alpha__
++const char *inet_ntop(int af, const void *src, char *dst, socklen_t size);
++#else
+ const char *inet_ntop(int af, const void *src, char *dst, size_t size);
++#endif
+
+ #if defined(__cplusplus)
+ }