Bug 1713745 - include nsXULAppAPI.h to reach GeckoProcessType definition r=gcp

Otherwise the build fails on OpenBSD:
In file included from security/sandbox/common/SandboxSettings.cpp:7:
/usr/obj/m-c/dist/include/mozilla/SandboxSettings.h:39:26: error: unknown type name 'GeckoProcessType'
bool StartOpenBSDSandbox(GeckoProcessType type);

Differential Revision: https://phabricator.services.mozilla.com/D116633
This commit is contained in:
Landry Breuil 2021-06-14 17:17:24 +00:00
parent f4617e8f88
commit 2885db7706

View File

@ -7,6 +7,10 @@
#define mozilla_SandboxSettings_h
#include <cinttypes>
#ifdef __OpenBSD__
#include "nsXULAppAPI.h"
#endif
namespace mozilla {
// Return the current sandbox level. This is the