From: Willy Tarreau Date: Mon, 23 Jan 2012 14:35:52 +0000 (+0100) Subject: BUILD: fix build error on FreeBSD X-Git-Tag: v1.5-dev8~37 X-Git-Url: http://git.kaiwu.me/%7B@url%7D?a=commitdiff_plain;h=b05405a3a8c54922a31f56fd7d81e79c93d152a5;p=haproxy.git BUILD: fix build error on FreeBSD Marcello Gorlani reported that commit 5e205524ad24003ecc4dbb435066aebe7ed58d95 (BUG: http: re-enable TCP quick-ack upon incomplete HTTP requests) broke build on FreeBSD. Moving the include lower fixes the issue. This must be backported to 1.4 too. --- diff --git a/src/proto_http.c b/src/proto_http.c index 034a752c9..af53dda70 100644 --- a/src/proto_http.c +++ b/src/proto_http.c @@ -19,12 +19,12 @@ #include #include -#include - #include #include #include +#include + #include #include #include