From e567f4cb73a1637141f7e4fc3b0ef44e79568048 Mon Sep 17 00:00:00 2001 From: Baruch Siach Date: Sun, 10 Jun 2018 22:01:47 +0300 Subject: [PATCH] Fix build without SSL support The headers is needed for unique_ptr even when SSL is not enabled. This fixes the following build failure: src/Utils.cpp: In static member function 'static bool CUtils::CheckCIDR(const CString&, const CString&)': src/Utils.cpp:674:5: error: 'unique_ptr' is not a member of 'std' std::unique_ptr aiHost(aiHostC, deleter); ^ Close #1554 --- src/Utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Utils.cpp b/src/Utils.cpp index 9c3b2549..cced5683 100644 --- a/src/Utils.cpp +++ b/src/Utils.cpp @@ -27,8 +27,8 @@ #include #ifdef HAVE_LIBSSL #include -#include #endif /* HAVE_LIBSSL */ +#include #include #include