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 fd9e6b6..bc655bd 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>