From 189015afb4632bd1dc78c1bd87bed1ca4cc48b19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?louiz=E2=80=99?= Date: Wed, 29 Jul 2020 00:37:24 +0200 Subject: Conditionally compile the SASL code only with botan and database --- src/utils/base64.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/utils/base64.hpp') diff --git a/src/utils/base64.hpp b/src/utils/base64.hpp index 1dd4a4d..7c08d82 100644 --- a/src/utils/base64.hpp +++ b/src/utils/base64.hpp @@ -2,9 +2,13 @@ #include "biboumi.h" +#ifdef BOTAN_FOUND + #include namespace base64 { std::string encode(const std::string& input); } + +#endif -- cgit v1.2.3