From 9bfcd7f470eb9d64aad0bf99114ff942b48949fc Mon Sep 17 00:00:00 2001 From: Liny Date: Tue, 5 Apr 2022 00:08:47 -0700 Subject: [PATCH] Attempt to fix linux compiles --- indra/newview/llappviewerlinux.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/indra/newview/llappviewerlinux.cpp b/indra/newview/llappviewerlinux.cpp index a09e0dbb40..c5d90770d7 100644 --- a/indra/newview/llappviewerlinux.cpp +++ b/indra/newview/llappviewerlinux.cpp @@ -69,6 +69,13 @@ extern "C" #include "breakpad/common/linux/http_upload.h" #include "lldir.h" #include "../llcrashlogger/llcrashlogger.h" +// Fix linux compile +#if LL_USESYSTEMLIBS +#include "jsoncpp/reader.h" // JSON +#else +#include "json/reader.h" // JSON +#endif +// #endif #include "fsversionvalues.h"