From: Willy Tarreau Date: Wed, 29 Nov 2017 09:52:29 +0000 (+0100) Subject: BUILD: checks: don't include server.h X-Git-Tag: v1.9-dev1~645 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec7464726f90a8c9536c21a693631a1193f81e19;p=thirdparty%2Fhaproxy.git BUILD: checks: don't include server.h server.h needs checks.h since it references the struct check, but depending on the include order it will fail if check.h is included first due to this one including server.h in turn while it doesn't need it. --- diff --git a/include/types/checks.h b/include/types/checks.h index b1fe7f337c..853a5bf8c5 100644 --- a/include/types/checks.h +++ b/include/types/checks.h @@ -22,7 +22,6 @@ #include #include #include -#include /* enum used by check->result. Must remain in this order, as some code uses * result >= CHK_RES_PASSED to declare success.