]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: pool: only include the type files from types
authorWilly Tarreau <w@1wt.eu>
Mon, 29 Jun 2020 08:11:24 +0000 (10:11 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 29 Jun 2020 08:11:24 +0000 (10:11 +0200)
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.

include/haproxy/pool-t.h

index 1d7fcbb8c2dde546d94587c9258ff5b2263274b2..e81004cf80647fc5995a10272599d020c892e634 100644 (file)
@@ -22,9 +22,9 @@
 #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.