pool-t.h was mistakenly including the full-blown includes for threads,
lists and api instead of the types, and as such, CONFIG_HAP_LOCAL_POOLS
and CONFIG_HAP_LOCKLESS_POOLS were not visible everywhere.
#ifndef _HAPROXY_POOL_T_H
#define _HAPROXY_POOL_T_H
-#include <haproxy/api.h>
-#include <haproxy/list.h>
-#include <haproxy/thread.h>
+#include <haproxy/api-t.h>
+#include <haproxy/list-t.h>
+#include <haproxy/thread-t.h>
/* On architectures supporting threads and double-word CAS, we can implement
* lock-less memory pools. This isn't supported for debugging modes however.