aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib/filters/comp_filter.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/filters/comp_filter.cpp b/src/lib/filters/comp_filter.cpp
index 8df334654..1dc6c5839 100644
--- a/src/lib/filters/comp_filter.cpp
+++ b/src/lib/filters/comp_filter.cpp
@@ -7,9 +7,12 @@
*/
#include <botan/comp_filter.h>
-#include <botan/compression.h>
#include <botan/exceptn.h>
+#if defined(BOTAN_HAS_COMPRESSION)
+ #include <botan/compression.h>
+#endif
+
namespace Botan {
#if defined(BOTAN_HAS_COMPRESSION)