Skip to content

Commit 0074c36

Browse files
committed
BUILD: pools: import plock.h to build even without thread support
In 2.9-dev4, commit 544c2f2 ("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.
1 parent 892d047 commit 0074c36

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/pool.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212

1313
#include <errno.h>
1414

15+
#include <import/plock.h>
16+
1517
#include <haproxy/activity.h>
1618
#include <haproxy/api.h>
1719
#include <haproxy/applet-t.h>

0 commit comments

Comments
 (0)