Index: sandbox/linux/bpf_dsl/linux_syscall_ranges.h |
diff --git a/sandbox/linux/bpf_dsl/linux_syscall_ranges.h b/sandbox/linux/bpf_dsl/linux_syscall_ranges.h |
index a26a166be9ebbf7904f96fb5a38f3f06b57a924d..5020790c6907a1b2455a39297993311f56af6eb0 100644 |
--- a/sandbox/linux/bpf_dsl/linux_syscall_ranges.h |
+++ b/sandbox/linux/bpf_dsl/linux_syscall_ranges.h |
@@ -5,7 +5,13 @@ |
#ifndef SANDBOX_LINUX_BPF_DSL_LINUX_SYSCALL_RANGES_H_ |
#define SANDBOX_LINUX_BPF_DSL_LINUX_SYSCALL_RANGES_H_ |
+#include "build/build_config.h" |
+ |
+#if !defined(OS_NACL_NONSFI) |
+// TODO: __NR_SYSCALL_BASE is always 0 for |
+// __arm__ && (__thumb__ or __ARM_EABI__). Can we drop? |
#include <asm/unistd.h> // For __NR_SYSCALL_BASE |
+#endif |
#if defined(__x86_64__) |