Issue #1805 - Follow-up: provide for Linux builds using rlimit and min/max.

This commit is contained in:
Moonchild 2022-07-15 16:03:43 +00:00 committed by roytam1
commit 3571cc8de0

View file

@ -58,7 +58,14 @@
#include "nsIXULRuntime.h"
#include "nsJSPrincipals.h"
#if defined(XP_LINUX)
// For getrlimit and min/max.
#include <algorithm>
#include <sys/resource.h>
#endif
#ifdef XP_WIN
// For min/max.
#include <algorithm>
#include <windows.h>
#endif