summaryrefslogtreecommitdiff
path: root/src/pal/src/exception/machexception.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pal/src/exception/machexception.cpp')
-rw-r--r--src/pal/src/exception/machexception.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pal/src/exception/machexception.cpp b/src/pal/src/exception/machexception.cpp
index 5bf4074a76..f42840def0 100644
--- a/src/pal/src/exception/machexception.cpp
+++ b/src/pal/src/exception/machexception.cpp
@@ -41,7 +41,9 @@ Abstract:
#include <string.h>
#include <unistd.h>
#include <pthread.h>
+#if defined(__powerpc__)
#include <architecture/ppc/cframe.h>
+#endif
#include <dlfcn.h>
#include <mach-o/loader.h>