summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>