]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: promex: service-prometheus.c needs tools.h
authorWilly Tarreau <w@1wt.eu>
Sat, 8 May 2021 10:58:12 +0000 (12:58 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 8 May 2021 10:58:12 +0000 (12:58 +0200)
It calls url_decode() and memprintf() but used to inherit them through
others.

addons/promex/service-prometheus.c

index ee7c38f76850d6194fc99902bb3178881e9ac806..6a42a47c308175f9b9377fbeb22cd1fa11ac8694 100644 (file)
@@ -34,6 +34,7 @@
 #include <haproxy/stream.h>
 #include <haproxy/stream_interface.h>
 #include <haproxy/task.h>
+#include <haproxy/tools.h>
 #include <haproxy/version.h>
 
 /* Prometheus exporter applet states (appctx->st0) */