diff --git a/src/SSLListener.cpp b/src/SSLListener.cpp index 1c0d4fc..cb6db1e 100644 --- a/src/SSLListener.cpp +++ b/src/SSLListener.cpp @@ -3,11 +3,12 @@ // #include -#include #include #include "frnetlib/SSLListener.h" #ifdef SSL_ENABLED +#include + namespace fr { SSLListener::SSLListener(std::shared_ptr ssl_context_, const std::string &crt_path, const std::string &pem_path, const std::string &private_key_path) noexcept diff --git a/src/SSLSocket.cpp b/src/SSLSocket.cpp index 283b3cb..cae2aed 100644 --- a/src/SSLSocket.cpp +++ b/src/SSLSocket.cpp @@ -4,10 +4,11 @@ #include "frnetlib/SSLSocket.h" #include -#include #ifdef SSL_ENABLED +#include + namespace fr { SSLSocket::SSLSocket(std::shared_ptr ssl_context_) noexcept