From 3cd084bb03aabd303777e866ca30b320194ccbd7 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Fri, 7 Sep 2012 23:56:32 -0400 Subject: [PATCH] TCP_* is in the reserved namespace for tcp.h; make use of that --- include/netinet/tcp.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/netinet/tcp.h b/include/netinet/tcp.h index 5049dd91..6c2d2891 100644 --- a/include/netinet/tcp.h +++ b/include/netinet/tcp.h @@ -4,9 +4,6 @@ #include #define TCP_NODELAY 1 -#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) -#include -#include #define TCP_MAXSEG 2 #define TCP_CORK 3 #define TCP_KEEPIDLE 4 @@ -20,6 +17,10 @@ #define TCP_QUICKACK 12 #define TCP_CONGESTION 13 #define TCP_MD5SIG 14 + +#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) +#include +#include #endif #endif -- 2.25.1