aboutsummaryrefslogtreecommitdiffstats
path: root/src/cli/utils.cpp
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2018-01-09 16:39:20 +0100
committerSimon Warta <[email protected]>2018-01-11 10:39:01 +0100
commit0c6e3f7d048c207218e479f95d83d1df09c06787 (patch)
treeb8e577f2cab6fa1e17b5cb3982c3d5d7440705c0 /src/cli/utils.cpp
parent3099e920495c8e881387363de8e1b0bf7d1d5292 (diff)
Remove dependency: base depends on mac
Diffstat (limited to 'src/cli/utils.cpp')
-rw-r--r--src/cli/utils.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/cli/utils.cpp b/src/cli/utils.cpp
index 161cc24bf..ebc9673bd 100644
--- a/src/cli/utils.cpp
+++ b/src/cli/utils.cpp
@@ -9,13 +9,16 @@
#include <botan/version.h>
#include <botan/hash.h>
-#include <botan/mac.h>
#include <botan/rng.h>
#include <botan/cpuid.h>
#include <botan/hex.h>
#include <botan/parsing.h>
#include <sstream>
+#if defined(BOTAN_HAS_MAC)
+ #include <botan/mac.h>
+#endif
+
#if defined(BOTAN_HAS_BASE64_CODEC)
#include <botan/base64.h>
#endif