need sys/file.h for flock()
[rsync/rsync.git] / rsync.h
diff --git a/rsync.h b/rsync.h
index 692584a..0368451 100644 (file)
--- a/rsync.h
+++ b/rsync.h
 #include <arpa/inet.h>
 #include <netdb.h>
 #include <syslog.h>
+#include <sys/file.h>
 
 #ifndef S_IFLNK
 #define S_IFLNK  0120000