diff options
author | mostynb <mostynb@opera.com> | 2015-11-06 16:50:42 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-11-07 00:51:30 +0000 |
commit | 7064ac8280fd30043a32ad4f532bf42c908ed170 (patch) | |
tree | d5b6583c82b3c2491ac773051a31524fa3679de4 /sandbox | |
parent | bc1cdb98cb2751b5afa7195738ea07744f5b5045 (diff) | |
download | chromium_src-7064ac8280fd30043a32ad4f532bf42c908ed170.zip chromium_src-7064ac8280fd30043a32ad4f532bf42c908ed170.tar.gz chromium_src-7064ac8280fd30043a32ad4f532bf42c908ed170.tar.bz2 |
include what you use: errno.h in sandbox/
Adding some missing errno.h includes for errno in sandbox/
Review URL: https://codereview.chromium.org/1422253004
Cr-Commit-Position: refs/heads/master@{#358474}
Diffstat (limited to 'sandbox')
-rw-r--r-- | sandbox/linux/integration_tests/seccomp_broker_process_unittest.cc | 3 | ||||
-rw-r--r-- | sandbox/linux/seccomp-bpf/syscall_unittest.cc | 1 | ||||
-rw-r--r-- | sandbox/linux/services/yama.cc | 1 | ||||
-rw-r--r-- | sandbox/linux/syscall_broker/broker_host.cc | 1 |
4 files changed, 5 insertions, 1 deletions
diff --git a/sandbox/linux/integration_tests/seccomp_broker_process_unittest.cc b/sandbox/linux/integration_tests/seccomp_broker_process_unittest.cc index 9aa3209..09f2d58 100644 --- a/sandbox/linux/integration_tests/seccomp_broker_process_unittest.cc +++ b/sandbox/linux/integration_tests/seccomp_broker_process_unittest.cc @@ -2,9 +2,10 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#include <errno.h> +#include <fcntl.h> #include <sys/types.h> #include <sys/stat.h> -#include <fcntl.h> #include <unistd.h> #include <vector> diff --git a/sandbox/linux/seccomp-bpf/syscall_unittest.cc b/sandbox/linux/seccomp-bpf/syscall_unittest.cc index 5fdee6c..3fe404c 100644 --- a/sandbox/linux/seccomp-bpf/syscall_unittest.cc +++ b/sandbox/linux/seccomp-bpf/syscall_unittest.cc @@ -5,6 +5,7 @@ #include "sandbox/linux/seccomp-bpf/syscall.h" #include <asm/unistd.h> +#include <errno.h> #include <fcntl.h> #include <sys/mman.h> #include <sys/syscall.h> diff --git a/sandbox/linux/services/yama.cc b/sandbox/linux/services/yama.cc index 151f4bd..274443c 100644 --- a/sandbox/linux/services/yama.cc +++ b/sandbox/linux/services/yama.cc @@ -4,6 +4,7 @@ #include "sandbox/linux/services/yama.h" +#include <errno.h> #include <fcntl.h> #include <sys/prctl.h> #include <sys/stat.h> diff --git a/sandbox/linux/syscall_broker/broker_host.cc b/sandbox/linux/syscall_broker/broker_host.cc index e5957ed..8b78b1b 100644 --- a/sandbox/linux/syscall_broker/broker_host.cc +++ b/sandbox/linux/syscall_broker/broker_host.cc @@ -4,6 +4,7 @@ #include "sandbox/linux/syscall_broker/broker_host.h" +#include <errno.h> #include <fcntl.h> #include <sys/socket.h> #include <sys/stat.h> |