summaryrefslogtreecommitdiffstats
path: root/include/headers.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/headers.h')
-rw-r--r--include/headers.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/headers.h b/include/headers.h
index 6fb499d..891c46d 100644
--- a/include/headers.h
+++ b/include/headers.h
@@ -248,7 +248,9 @@ SPECIAL_OSF1_EXTERN_C_START
#include <arpa/inet.h> /* netinet/in.h must be before this on SunOS */
SPECIAL_OSF1_EXTERN_C_STOP
#endif
-#if HAVE_NETINET_TCP_H
+#if HAVE_LINUX_TCP_H && HAVE_DECL_TCP_TX_DELAY
+#include <linux/tcp.h>
+#elif HAVE_NETINET_TCP_H
#include <netinet/tcp.h>
#endif