aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmd/compress.cpp
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2015-06-26 20:20:32 +0200
committerSimon Warta <[email protected]>2015-07-03 10:33:45 +0200
commitf472b8fc61accbbaa6a36af9d2d20b0fde37a1a2 (patch)
tree8e71c24da6f7f5b037024741105ca392369e590a /src/cmd/compress.cpp
parentcd9037e29f32197b9c37ef7bec955ac2372b543b (diff)
Make Botan compile when only some modules are enabled
Fixes #146.
Diffstat (limited to 'src/cmd/compress.cpp')
-rw-r--r--src/cmd/compress.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cmd/compress.cpp b/src/cmd/compress.cpp
index 35f74f8af..c9168f3df 100644
--- a/src/cmd/compress.cpp
+++ b/src/cmd/compress.cpp
@@ -6,6 +6,8 @@
#include "apps.h"
+#if defined(BOTAN_HAS_COMPRESSION)
+
#include <botan/compression.h>
#include <fstream>
@@ -120,3 +122,5 @@ REGISTER_APP(compress);
REGISTER_APP(uncompress);
}
+
+#endif // BOTAN_HAS_COMPRESSION