From: Willy Tarreau Date: Fri, 18 Jan 2008 11:18:15 +0000 (+0100) Subject: [BUILD] code did not build in full debug mode X-Git-Tag: v1.3.14.2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5e62d371f7d34b9e726cd5c9944539af22a9215;p=thirdparty%2Fhaproxy.git [BUILD] code did not build in full debug mode --- diff --git a/src/checks.c b/src/checks.c index b2580576a0..42859caddf 100644 --- a/src/checks.c +++ b/src/checks.c @@ -10,6 +10,7 @@ * */ +#include #include #include #include diff --git a/src/proto_http.c b/src/proto_http.c index 3e255797fb..6986477935 100644 --- a/src/proto_http.c +++ b/src/proto_http.c @@ -634,7 +634,7 @@ void process_session(struct task *t, struct timeval *next) /* DEBUG code : this should never ever happen, otherwise it indicates * that a task still has something to do and will provoke a quick loop. */ - if (tv_remain2(&now, &t->expire) <= 0) + if (tv_ms_remain2(&now, &t->expire) <= 0) exit(100); #endif *next = t->expire;