From 38ff2bdb913edafa26ebd9ba8ec3c94dc654d47c Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Tue, 17 Dec 2024 11:00:45 +0100 Subject: Reduce header includes in TLS/RSA-AES headers We can make do with forward declarations for these classes. --- common/rfb/SSecurityTLS.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'common/rfb/SSecurityTLS.h') diff --git a/common/rfb/SSecurityTLS.h b/common/rfb/SSecurityTLS.h index c29ee474..8f6539d9 100644 --- a/common/rfb/SSecurityTLS.h +++ b/common/rfb/SSecurityTLS.h @@ -27,9 +27,7 @@ #endif #include -#include -#include -#include + #include /* In GnuTLS 3.6.0 DH parameter generation was deprecated. RFC7919 is used instead. @@ -39,6 +37,11 @@ #define SSECURITYTLS__USE_DEPRECATED_DH #endif +namespace rdr { + class InStream; + class OutStream; +} + namespace rfb { class SSecurityTLS : public SSecurity { -- cgit v1.2.3