summaryrefslogtreecommitdiff
path: root/xpcom
diff options
context:
space:
mode:
authorPale Moon <git-repo@palemoon.org>2017-09-23 14:36:08 +0200
committerPale Moon <git-repo@palemoon.org>2017-09-23 14:36:08 +0200
commit75e3d7d0d8ec550e0072818d86618746540422d9 (patch)
treec6a7316db601685e7b065bd102ee9a2176af9c2b /xpcom
parent92fa59349fb73a9a1e03f50224126e6502111054 (diff)
downloadpalemoon-gre-75e3d7d0d8ec550e0072818d86618746540422d9.tar.gz
Exclude <sys/sysmacros.h> from MacOSX.
Follow-up for #1324 to solve Mac build bustage.
Diffstat (limited to 'xpcom')
-rw-r--r--xpcom/io/nsLocalFileUnix.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/xpcom/io/nsLocalFileUnix.cpp b/xpcom/io/nsLocalFileUnix.cpp
index cb023f521..c7b6b2a93 100644
--- a/xpcom/io/nsLocalFileUnix.cpp
+++ b/xpcom/io/nsLocalFileUnix.cpp
@@ -13,7 +13,9 @@
#include <sys/types.h>
#include <sys/stat.h>
+#if !defined(XP_MACOSX)
#include <sys/sysmacros.h> // No longer implicitly included in later glibc
+#endif
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>