From: Rich Felker Date: Sat, 8 Sep 2012 03:56:32 +0000 (-0400) Subject: TCP_* is in the reserved namespace for tcp.h; make use of that X-Git-Tag: v0.9.5~46 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3cd084bb03aabd303777e866ca30b320194ccbd7;p=oweals%2Fmusl.git TCP_* is in the reserved namespace for tcp.h; make use of that --- 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