diff --git a/security/sandbox/linux/Sandbox.cpp b/security/sandbox/linux/Sandbox.cpp index a0076cfcbaf2..ac3c5329c064 100644 --- a/security/sandbox/linux/Sandbox.cpp +++ b/security/sandbox/linux/Sandbox.cpp @@ -35,9 +35,12 @@ #include "android_ucontext.h" #include #endif -#include "seccomp_filter.h" +#if defined(MOZ_CONTENT_SANDBOX) +#include "seccomp_filter.h" #include "linux_seccomp.h" +#endif + #ifdef MOZ_LOGGING #define FORCE_PR_LOG 1 #endif