summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2022-07-15 19:48:18 +0000
committerMoonchild <moonchild@palemoon.org>2022-07-15 19:48:18 +0000
commitf63a7ee3fd540b700e0d23bdef5e3ea580905ca4 (patch)
treecfc9c65aed73755023b706b2b608b4acdf7997ce
parent325a49588aec069265e2342e9d81918ad3a5a681 (diff)
downloaduxp-f63a7ee3fd540b700e0d23bdef5e3ea580905ca4.tar.gz
Issue #1805 - Follow-up: Include the same headers for Solaris as well to1805-stacksize
future-proof gcc versions.
-rw-r--r--js/xpconnect/src/XPCJSContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/xpconnect/src/XPCJSContext.cpp b/js/xpconnect/src/XPCJSContext.cpp
index 61a1d3b274..e9d07b17c9 100644
--- a/js/xpconnect/src/XPCJSContext.cpp
+++ b/js/xpconnect/src/XPCJSContext.cpp
@@ -58,7 +58,7 @@
#include "nsIXULRuntime.h"
#include "nsJSPrincipals.h"
-#if defined(XP_LINUX)
+#if defined(XP_LINUX) || defined(XP_SOLARIS)
// For getrlimit and min/max.
#include <algorithm>
#include <sys/resource.h>