From: William Lallemand Date: Wed, 13 May 2020 06:24:41 +0000 (+0200) Subject: CLEANUP: ssl: avoid circular dependencies in ssl_crtlist.h X-Git-Tag: v2.2-dev8~63 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c1c50b46e9aac8650e21b189f867768cc6f85a39;p=thirdparty%2Fhaproxy.git CLEANUP: ssl: avoid circular dependencies in ssl_crtlist.h Add forward declarations in types/ssl_crtlist.h in order to avoid circular dependencies. Also remove the listener.h include which is not needed anymore. --- diff --git a/include/types/ssl_crtlist.h b/include/types/ssl_crtlist.h index bcece4ecfa..095a1279db 100644 --- a/include/types/ssl_crtlist.h +++ b/include/types/ssl_crtlist.h @@ -23,9 +23,14 @@ #define _TYPES_SSL_CRTLIST_H #ifdef USE_OPENSSL +#include + #include -#include +/* forward declarations for structures below */ +struct bind_conf; +struct ssl_bind_conf; +struct proxy; /* list of bind conf used by struct crtlist */ struct bind_conf_list {