File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 31
31
32
32
#include < rtps/reader/BaseReader.hpp>
33
33
#include < rtps/reader/LocalReaderPointer.hpp>
34
- #include < security/OpenSSLInit.hpp>
35
34
#include < rtps/writer/BaseWriter.hpp>
36
35
#include < utils/shared_memory/BoostAtExitRegistry.hpp>
37
36
#include < utils/SystemInfo.hpp>
38
37
38
+ #if HAVE_SECURITY || TLS_FOUND
39
+ #include < security/OpenSSLInit.hpp>
40
+ #endif // HAVE_SECURITY || TLS_FOUND
41
+
39
42
#include < fastdds/xtypes/type_representation/TypeObjectRegistry.hpp>
40
43
41
44
namespace eprosima {
@@ -286,8 +289,9 @@ class RTPSDomainImpl
286
289
std::shared_ptr<eprosima::detail::BoostAtExitRegistry> boost_singleton_handler_ { eprosima::detail::
287
290
BoostAtExitRegistry::
288
291
get_instance () };
289
-
292
+ # if HAVE_SECURITY || TLS_FOUND
290
293
std::shared_ptr<security::OpenSSLInit> openssl_singleton_handler_{ security::OpenSSLInit::get_instance () };
294
+ #endif // HAVE_SECURITY || TLS_FOUND
291
295
292
296
std::mutex m_mutex;
293
297
You can’t perform that action at this time.
0 commit comments