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.
This commit is contained in:
Willy Tarreau 2017-11-29 10:52:29 +01:00
parent bcd9101a66
commit ec7464726f

View File

@ -22,7 +22,6 @@
#include <types/connection.h>
#include <types/obj_type.h>
#include <types/task.h>
#include <types/server.h>
/* enum used by check->result. Must remain in this order, as some code uses
* result >= CHK_RES_PASSED to declare success.