freebsd-ports/net/beacon/files/patch-Net-RTP-0.4::inet_ntop.h
2004-03-05 10:27:49 +00:00

14 lines
438 B
C

--- 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
+#if defined(__sparc64__) || defined(__amd64__) || defined(__alpha__) || defined(__ia64__)
+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)
}