Need to include netinet/tcp.h to get TCP_NODELAY defined.
authorWayne Davison <wayned@samba.org>
Tue, 31 Oct 2006 19:21:57 +0000 (19:21 +0000)
committerWayne Davison <wayned@samba.org>
Tue, 31 Oct 2006 19:21:57 +0000 (19:21 +0000)
socket.c

index 5ef0457..dd7428e 100644 (file)
--- a/socket.c
+++ b/socket.c
@@ -28,6 +28,7 @@
 #include "rsync.h"
 #include <netinet/in_systm.h>
 #include <netinet/ip.h>
+#include <netinet/tcp.h>
 
 extern char *bind_address;
 extern int default_af_hint;