diff options
author | jln@chromium.org <jln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-19 18:26:18 +0000 |
---|---|---|
committer | jln@chromium.org <jln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-19 18:26:18 +0000 |
commit | 0795982840095652cb7e0e64b227dfff861ebb77 (patch) | |
tree | 703660ba9e5ee36b0278ae1a9ff81287d44586b6 /sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc | |
parent | 36132026f76105e8dd4d665d234206c6813c7ecf (diff) | |
download | chromium_src-0795982840095652cb7e0e64b227dfff861ebb77.zip chromium_src-0795982840095652cb7e0e64b227dfff861ebb77.tar.gz chromium_src-0795982840095652cb7e0e64b227dfff861ebb77.tar.bz2 |
Linux sandbox: compile partially under Android.
Get a subset of sandbox/linux to compile under Android.
BUG=166704
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/11612014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173954 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc')
-rw-r--r-- | sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc b/sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc index f3952b0..25b6655 100644 --- a/sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc +++ b/sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include <sys/prctl.h> +#include <sys/syscall.h> #include <sys/utsname.h> #include <ostream> @@ -12,6 +12,7 @@ #include "sandbox/linux/seccomp-bpf/syscall.h" #include "sandbox/linux/seccomp-bpf/verifier.h" #include "sandbox/linux/services/broker_process.h" +#include "sandbox/linux/services/linux_syscalls.h" #include "testing/gtest/include/gtest/gtest.h" using namespace playground2; |