mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-27 17:47:34 +09:00
Issue #1805 - Follow-up: provide for Linux builds using rlimit and min/max.
This commit is contained in:
parent
5ed7e7d56d
commit
3571cc8de0
1 changed files with 7 additions and 0 deletions
|
|
@ -58,7 +58,14 @@
|
||||||
#include "nsIXULRuntime.h"
|
#include "nsIXULRuntime.h"
|
||||||
#include "nsJSPrincipals.h"
|
#include "nsJSPrincipals.h"
|
||||||
|
|
||||||
|
#if defined(XP_LINUX)
|
||||||
|
// For getrlimit and min/max.
|
||||||
|
#include <algorithm>
|
||||||
|
#include <sys/resource.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef XP_WIN
|
#ifdef XP_WIN
|
||||||
|
// For min/max.
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue