]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: wdt: include signal-t.h
authorWilly Tarreau <w@1wt.eu>
Sat, 8 May 2021 10:27:42 +0000 (12:27 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 8 May 2021 10:29:01 +0000 (12:29 +0200)
WDT_SIG is used there, thus signal-t.h is required. Currently it's
retrieved by accident through global.h.

src/wdt.c

index 18836ff440607bd5d6d64eb5d237809ea7118038..3c0b3d19e9ac959f9aa8a1cffd6a114362a87315 100644 (file)
--- a/src/wdt.c
+++ b/src/wdt.c
@@ -16,6 +16,7 @@
 #include <haproxy/debug.h>
 #include <haproxy/errors.h>
 #include <haproxy/global.h>
+#include <haproxy/signal-t.h>
 #include <haproxy/thread.h>
 #include <haproxy/tools.h>