From 311ad52ad6f0b11811412c1dc17679fc24356c90 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 18 Jul 2022 17:43:31 +0100 Subject: [PATCH] [Minor] Check version header that is absent sometimes --- src/libserver/symcache/symcache_impl.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/libserver/symcache/symcache_impl.cxx b/src/libserver/symcache/symcache_impl.cxx index 8ffc55db0..28db9aaa9 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 { -- 2.39.5