define INADDR_NONE if necessary
[rsync/rsync.git] / rsync.h
diff --git a/rsync.h b/rsync.h
index 0368451..bbfe689 100644 (file)
--- a/rsync.h
+++ b/rsync.h
 #define MAXPATHLEN 1024
 #endif
 
+#ifndef INADDR_NONE
+#define INADDR_NONE 0xffffffff
+#endif
+
 struct file_struct {
        unsigned flags;
        time_t modtime;