aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libottery/ottery-internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libottery/ottery-internal.h')
-rw-r--r--contrib/libottery/ottery-internal.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/contrib/libottery/ottery-internal.h b/contrib/libottery/ottery-internal.h
index 24279043e..145c5e4a9 100644
--- a/contrib/libottery/ottery-internal.h
+++ b/contrib/libottery/ottery-internal.h
@@ -15,7 +15,11 @@
#define OTTERY_INTERNAL_H_HEADER_INCLUDED_
#include <stdint.h>
#include <sys/types.h>
+
+#ifdef BUILD_RSPAMD
#include "config.h"
+#endif
+
#include "ottery-threading.h"
@@ -300,6 +304,10 @@ void ottery_disable_cpu_capabilities_(uint32_t disable);
extern const struct ottery_prf ottery_prf_chacha8_merged_;
extern const struct ottery_prf ottery_prf_chacha12_merged_;
extern const struct ottery_prf ottery_prf_chacha20_merged_;
+
+#ifdef BUILD_RSPAMD
+extern const struct ottery_prf ottery_prf_chacha20_cryptobox_;
+#endif
/**@}*/
/**