Bug 1406233 - Include sys/sysmacros.h for major()/minor() macros in Linux sandbox broker. r?gcp
MozReview-Commit-ID: G1D4yxLAAqg
--- a/security/sandbox/linux/broker/SandboxBrokerPolicyFactory.cpp
+++ b/security/sandbox/linux/broker/SandboxBrokerPolicyFactory.cpp
@@ -27,18 +27,19 @@
#include "cutils/properties.h"
#endif
#ifdef MOZ_WIDGET_GTK
#include <glib.h>
#endif
#include <dirent.h>
+#include <sys/stat.h>
+#include <sys/sysmacros.h>
#include <sys/types.h>
-#include <sys/stat.h>
namespace mozilla {
#if defined(MOZ_CONTENT_SANDBOX)
namespace {
static const int rdonly = SandboxBroker::MAY_READ;
static const int wronly = SandboxBroker::MAY_WRITE;
static const int rdwr = rdonly | wronly;