summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/Error.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Core/Error.cpp')
-rw-r--r--lldb/source/Core/Error.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/Core/Error.cpp b/lldb/source/Core/Error.cpp
index 9556c55644b..bca30be6813 100644
--- a/lldb/source/Core/Error.cpp
+++ b/lldb/source/Core/Error.cpp
@@ -8,7 +8,9 @@
//===----------------------------------------------------------------------===//
// C Includes
+#ifdef __APPLE__
#include <mach/mach.h>
+#endif
// C++ Includes
// Other libraries and framework includes
OpenPOWER on IntegriCloud