--- imap/xapian_wrap.cpp.orig 2022-02-23 00:13:21 UTC +++ imap/xapian_wrap.cpp @@ -32,7 +32,11 @@ extern "C" { #include #ifdef HAVE_CLD2 +#ifdef __FreeBSD__ +#include +#else #include +#endif #endif // from global.h