aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/compression/comp_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/compression/comp_util.h')
-rw-r--r--src/lib/compression/comp_util.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/compression/comp_util.h b/src/lib/compression/comp_util.h
index 6e1ee1671..963eae642 100644
--- a/src/lib/compression/comp_util.h
+++ b/src/lib/compression/comp_util.h
@@ -9,6 +9,7 @@
#define BOTAN_COMPRESSION_UTILS_H__
#include <botan/compression.h>
+#include <botan/algo_registry.h>
#include <memory>
#include <unordered_map>
@@ -84,6 +85,10 @@ class Zlib_Style_Stream : public Compression_Stream
std::unique_ptr<Compression_Alloc_Info> m_allocs;
};
+#define BOTAN_REGISTER_COMPRESSION(C, D) \
+ BOTAN_REGISTER_T_1LEN(Transform, C, 9) \
+ BOTAN_REGISTER_T_NOARGS(Transform, D)
+
}
#endif