]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: thread: include log.h from thread.c
authorWilly Tarreau <w@1wt.eu>
Sat, 8 May 2021 18:33:02 +0000 (20:33 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 8 May 2021 18:35:39 +0000 (20:35 +0200)
It's needed for ha_alert(). Probably that a separate file for error
reporting at boot would be useful.

src/thread.c

index fd9e6b632ee2b03ff5f04a8cc5e2b878af8ff6cf..bc655bd501508864fee70c5b09433f380a2fc3f5 100644 (file)
@@ -26,6 +26,7 @@
 #include <haproxy/cfgparse.h>
 #include <haproxy/fd.h>
 #include <haproxy/global.h>
+#include <haproxy/log.h>
 #include <haproxy/thread.h>
 #include <haproxy/tools.h>