check for a broken inet_ntoa() on IRIX
[rsync/rsync.git] / rsync.h
diff --git a/rsync.h b/rsync.h
index 11af1f3..7485e5d 100644 (file)
--- a/rsync.h
+++ b/rsync.h
@@ -466,3 +466,7 @@ extern int errno;
      __attribute__ ((format (printf, 2, 3)))
 #endif
 ;
+
+#ifdef REPLACE_INET_NTOA
+#define inet_ntoa rep_inet_ntoa
+#endif