From: Vsevolod Stakhov Date: Mon, 18 Jul 2022 16:43:31 +0000 (+0100) Subject: [Minor] Check version header that is absent sometimes X-Git-Tag: 3.3~118 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=311ad52ad6f0b11811412c1dc17679fc24356c90;p=thirdparty%2Frspamd.git [Minor] Check version header that is absent sometimes --- diff --git a/src/libserver/symcache/symcache_impl.cxx b/src/libserver/symcache/symcache_impl.cxx index 8ffc55db0b..28db9aaa99 100644 --- a/src/libserver/symcache/symcache_impl.cxx +++ b/src/libserver/symcache/symcache_impl.cxx @@ -24,7 +24,11 @@ #include "fmt/core.h" #include "contrib/t1ha/t1ha.h" -#include +#ifdef __has_include +# if __has_include() +# include +# endif +#endif #include namespace rspamd::symcache {