BUILD: pools: import plock.h to build even without thread support
authorWilly Tarreau <w@1wt.eu>
Sat, 26 Aug 2023 15:22:32 +0000 (17:22 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 26 Aug 2023 15:28:08 +0000 (17:28 +0200)
commit0074c36dd22e4bb09d1ed24de416ab8bb9ce25da
tree11d47219c3d9436568193ead030952ee5683cb24
parent892d04733fdbe09a62ebad1c910360bba918a779
BUILD: pools: import plock.h to build even without thread support

In 2.9-dev4, commit 544c2f2d9 ("MINOR: pools: use EBO to wait for
unlock during pool_flush()") broke the thread-less build by calling
pl_wait_new_long() without explicitly including plock.h which is
normally included by thread.h when threads are enabled.
src/pool.c