aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/client/linux/handler/exception_handler.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/linux/handler/exception_handler.cc b/src/client/linux/handler/exception_handler.cc
index 49aea360..ec1f16a3 100644
--- a/src/client/linux/handler/exception_handler.cc
+++ b/src/client/linux/handler/exception_handler.cc
@@ -94,7 +94,9 @@
#include "common/linux/eintr_wrapper.h"
#include "third_party/lss/linux_syscall_support.h"
+#if defined(__ANDROID__)
#include "linux/sched.h"
+#endif
#ifndef PR_SET_PTRACER
#define PR_SET_PTRACER 0x59616d61