From fc6d2ad320b35a7ea4dfa33d88e1bdd54d21904d Mon Sep 17 00:00:00 2001 From: Erik Kundiman Date: Wed, 12 Jul 2023 14:46:32 +0800 Subject: System xxHash header isn't (usually?) encapsulated --- indra/llcommon/hbxxh.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/indra/llcommon/hbxxh.cpp b/indra/llcommon/hbxxh.cpp index 388269d6c8..84d215d468 100644 --- a/indra/llcommon/hbxxh.cpp +++ b/indra/llcommon/hbxxh.cpp @@ -34,7 +34,11 @@ // in your build, in which case the latter would be used instead. For ARM64 // builds, this would also automatically enable NEON vectorization. #define XXH_INLINE_ALL +#if LL_USESYSTEMLIBS +#include +#else #include "xxhash/xxhash.h" +#endif #include "hbxxh.h" -- cgit v1.2.3