From: Willy Tarreau Date: Fri, 16 Dec 2016 07:02:21 +0000 (+0100) Subject: CONTRIB: tcploop: add limits.h to fix build issue with some compilers X-Git-Tag: v1.8-dev1~255 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5cd60670a6bc03b6895611c2ed46b56d6cf60354;p=thirdparty%2Fhaproxy.git CONTRIB: tcploop: add limits.h to fix build issue with some compilers Just got this while cross-compiling : tcploop.c: In function 'tcp_recv': tcploop.c:444:48: error: 'INT_MAX' undeclared (first use in this function) tcploop.c:444:48: note: each undeclared identifier is reported only once for each function it appears in --- diff --git a/contrib/tcploop/tcploop.c b/contrib/tcploop/tcploop.c index a2ab59e76e..033481150f 100644 --- a/contrib/tcploop/tcploop.c +++ b/contrib/tcploop/tcploop.c @@ -39,6 +39,7 @@ #include #include #include +#include #include #include #include