Commit
36d156564 ("MINOR: peers: Support for peer shards") reintroduced
a direct dependency on import/xxhash.h which was previously dropped by
commit
d5fc8fcb8 ("CLEANUP: Add haproxy/xxhash.h to avoid modifying
import/xxhash.h"). This results in xxhash.h being included twice, which
breaks the build on older compilers which do not like seeing XXH32_hash_t
being defined twice.
Let's just use include/haproxy/xxhash.h instead.
No backport is needed.
#include <import/ebmbtree.h>
#include <import/ebsttree.h>
#include <import/ebistree.h>
-#include <import/xxhash.h>
#include <haproxy/api.h>
#include <haproxy/applet.h>
#include <haproxy/tcp_rules.h>
#include <haproxy/ticks.h>
#include <haproxy/tools.h>
+#include <haproxy/xxhash.h>
/* structure used to return a table key built from a sample */