From 325a49588aec069265e2342e9d81918ad3a5a681 Mon Sep 17 00:00:00 2001 From: Moonchild Date: Fri, 15 Jul 2022 16:03:43 +0000 Subject: Issue #1805 - Follow-up: provide for Linux builds using rlimit and min/max. --- js/xpconnect/src/XPCJSContext.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/js/xpconnect/src/XPCJSContext.cpp b/js/xpconnect/src/XPCJSContext.cpp index 2a32af83bd..61a1d3b274 100644 --- a/js/xpconnect/src/XPCJSContext.cpp +++ b/js/xpconnect/src/XPCJSContext.cpp @@ -58,7 +58,14 @@ #include "nsIXULRuntime.h" #include "nsJSPrincipals.h" +#if defined(XP_LINUX) +// For getrlimit and min/max. +#include +#include +#endif + #ifdef XP_WIN +// For min/max. #include #include #endif -- cgit v1.2.3