[master] c878e79 Always include <netinet/tcp.h> now for TCP_NODELAY

Poul-Henning Kamp phk at FreeBSD.org
Mon Dec 5 16:06:05 CET 2016


commit c878e79eb2937695a737d565ead391147231499a
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Dec 5 15:04:48 2016 +0000

    Always include <netinet/tcp.h> now for TCP_NODELAY

diff --git a/lib/libvarnish/vtcp.c b/lib/libvarnish/vtcp.c
index 62a9fb6..d28b99c 100644
--- a/lib/libvarnish/vtcp.c
+++ b/lib/libvarnish/vtcp.c
@@ -38,9 +38,7 @@
 #endif
 
 #include <netinet/in.h>
-#ifdef __linux
-#  include <netinet/tcp.h>
-#endif
+#include <netinet/tcp.h>
 
 #include <errno.h>
 #include <math.h>



More information about the varnish-commit mailing list