aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-11-04 15:36:12 -0400
committerJack Lloyd <[email protected]>2016-11-04 15:36:12 -0400
commit03bb3acf2f236560d5f4b121242e52afdd2156e4 (patch)
tree1165203a7e45b8a14db61fb56122599f8d2f6afa
parent5dd1da28a40e7f2d2897a5258f008fba6481a5c7 (diff)
Avoid bogus include with compression disabled
-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)