don't write more than PIPE_BUF bytes in any one write() in io.c
[rsync/rsync.git] / rsync.h
diff --git a/rsync.h b/rsync.h
index 03d38dd..7bde8b2 100644 (file)
--- a/rsync.h
+++ b/rsync.h
 #define MAXPATHLEN 1024
 #endif
 
+#ifndef PIPE_BUF
+#define PIPE_BUF 512
+#endif
+
 #ifndef INADDR_NONE
 #define INADDR_NONE 0xffffffff
 #endif