From c1c50b46e9aac8650e21b189f867768cc6f85a39 Mon Sep 17 00:00:00 2001 From: William Lallemand Date: Wed, 13 May 2020 08:24:41 +0200 Subject: [PATCH] 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. --- include/types/ssl_crtlist.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/types/ssl_crtlist.h b/include/types/ssl_crtlist.h index bcece4ecf..095a1279d 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 {