]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Minor] Add missing cryptobox.h include in shingles.h
authorVsevolod Stakhov <vsevolod@rspamd.com>
Sat, 4 Oct 2025 10:08:59 +0000 (11:08 +0100)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Sat, 4 Oct 2025 10:08:59 +0000 (11:08 +0100)
The rspamd_cryptobox_HASHBYTES constant used in rspamd_html_shingle
structure requires cryptobox.h to be included.

src/libutil/shingles.h

index c4ced3ac7d0d3e919603bb599a8a03244ebea57b..3d66e97ebbc547200fc9c7b6ec854420669c5701 100644 (file)
@@ -19,6 +19,7 @@
 #include "config.h"
 #include "mem_pool.h"
 #include "libserver/word.h"
+#include "cryptobox.h"
 
 #define RSPAMD_SHINGLE_SIZE 32