From 0e1816aa4c0b2fedf2b33e8b5922715465ed7696 Mon Sep 17 00:00:00 2001 From: Brian Smith Date: Sun, 6 Aug 2023 23:22:09 -0500 Subject: [PATCH] No Issue - Fix building with --enable-js-lto Needed to include jscntxt.h due to de-unified building. --- js/src/builtin/intl/CommonFunctions.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/src/builtin/intl/CommonFunctions.h b/js/src/builtin/intl/CommonFunctions.h index 66312ebc69..de97bd4084 100644 --- a/js/src/builtin/intl/CommonFunctions.h +++ b/js/src/builtin/intl/CommonFunctions.h @@ -18,6 +18,8 @@ #include "js/Vector.h" #include "vm/String.h" +#include "jscntxt.h" + namespace JS { class Value; } class JSObject; @@ -159,4 +161,4 @@ CallICU(JSContext* cx, const ICUStringFunction& strFn) } // namespace js -#endif /* builtin_intl_CommonFunctions_h */ \ No newline at end of file +#endif /* builtin_intl_CommonFunctions_h */