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
This commit is contained in:
Willy Tarreau 2016-12-16 08:02:21 +01:00
parent f5f26e824a
commit 5cd60670a6

View File

@ -39,6 +39,7 @@
#include <ctype.h> #include <ctype.h>
#include <errno.h> #include <errno.h>
#include <fcntl.h> #include <fcntl.h>
#include <limits.h>
#include <netdb.h> #include <netdb.h>
#include <poll.h> #include <poll.h>
#include <signal.h> #include <signal.h>