Hello,

The inclusion of header files proxy.h and tools.h was added to the
addons/ot/include/include.h file.  Without this HAProxy cannot be
compiled if the OpenTracing filter is to be used.

Best regards,

--
Zaga    <[email protected]>

What can change the nature of a man?
>From 6fe243c20b938afdfa934d6c075ae154bac9a976 Mon Sep 17 00:00:00 2001
From: Miroslav Zagorac <[email protected]>
Date: Tue, 11 May 2021 19:21:54 +0200
Subject: [PATCH] BUILD/MINOR: opentracing: fixed compilation with filter
 enabled

The inclusion of header files proxy.h and tools.h was added to the
addons/ot/include/include.h file.  Without this HAProxy cannot be
compiled if the OpenTracing filter is to be used.
---
 addons/ot/include/include.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/addons/ot/include/include.h b/addons/ot/include/include.h
index 3c0d11094..f185a53b2 100644
--- a/addons/ot/include/include.h
+++ b/addons/ot/include/include.h
@@ -31,8 +31,10 @@
 #include <haproxy/http_htx.h>
 #include <haproxy/http_rules.h>
 #include <haproxy/log.h>
+#include <haproxy/proxy.h>
 #include <haproxy/sample.h>
 #include <haproxy/tcp_rules.h>
+#include <haproxy/tools.h>
 #include <haproxy/vars.h>
 
 #include "config.h"
-- 
2.30.1

Reply via email to