From: Willy Tarreau Date: Sat, 8 May 2021 18:14:39 +0000 (+0200) Subject: BUILD: connection: stop including listener-t.h X-Git-Tag: v2.4-dev19~32 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=32840b77a5e05d929f1218ffd88746c482a2ca10;p=thirdparty%2Fhaproxy.git BUILD: connection: stop including listener-t.h listener-t comes with openssl just due to the SSL_CTX type that is declred as a typedef in openssl hence cannot be abstracted at this level. However connection-t.h doen't need all that just to know that bind_conf is a struct. Let's declare it with other external types instead.. --- diff --git a/include/haproxy/connection-t.h b/include/haproxy/connection-t.h index 8579632644..9451585aec 100644 --- a/include/haproxy/connection-t.h +++ b/include/haproxy/connection-t.h @@ -34,10 +34,10 @@ #include #include -#include #include #include #include +#include /* referenced below */ struct connection; @@ -49,6 +49,7 @@ struct server; struct session; struct pipe; struct quic_conn; +struct bind_conf; /* Note: subscribing to these events is only valid after the caller has really * attempted to perform the operation, and failed to proceed or complete.