From a336802ba3acca4f380a945752e7b6f69cd43f11 Mon Sep 17 00:00:00 2001 From: Nicky Date: Sat, 16 Oct 2021 18:49:05 +0200 Subject: [PATCH] FIRE-31221 workaround for newer glibc versions, patch from Lance Corrimal. --- indra/llcommon/llpreprocessor.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/indra/llcommon/llpreprocessor.h b/indra/llcommon/llpreprocessor.h index 26197cb692..95c9543751 100644 --- a/indra/llcommon/llpreprocessor.h +++ b/indra/llcommon/llpreprocessor.h @@ -40,6 +40,12 @@ #define LL_BIG_ENDIAN 1 #endif +// FIRE-31221 workaround for newer glibc versions, patch from Lance Corrimal +// Figure out GLIBC version - 2.34 needs an additional include as a build fix +#if (__GLIBC__*1000 + __GLIBC_MINOR__) >= 2034 +#include +#endif +// // Per-compiler switches