#define SAME_TIME (1<<7)
/* update this if you make incompatible changes */
-#define PROTOCOL_VERSION 19
+#define PROTOCOL_VERSION 22
#define MIN_PROTOCOL_VERSION 11
#define MAX_PROTOCOL_VERSION 30
#define CHUNK_SIZE (32*1024)
#define MAX_MAP_SIZE (256*1024)
#define IO_BUFFER_SIZE (4092)
-#define MAX_READ_BUFFER (1024*1024)
#define MAX_ARGS 1000
#define MAXPATHLEN 1024
#endif
+#ifndef PIPE_BUF
+#define PIPE_BUF 512
+#endif
+
#ifndef INADDR_NONE
#define INADDR_NONE 0xffffffff
#endif