From 7468b266532bd607eb1f5292d758256d800b2eee Mon Sep 17 00:00:00 2001 From: Shawn Anastasio Date: Fri, 10 Aug 2018 00:23:50 -0500 Subject: [PATCH] services/service_manager/sandbox/linux: Fix TCGETS declaration on PPC64 --- .../sandbox/linux/bpf_renderer_policy_linux.cc | 5 +++++ 1 file changed, 5 insertions(+) Index: chromium-127.0.6533.72/sandbox/policy/linux/bpf_renderer_policy_linux.cc =================================================================== --- chromium-127.0.6533.72.orig/sandbox/policy/linux/bpf_renderer_policy_linux.cc +++ chromium-127.0.6533.72/sandbox/policy/linux/bpf_renderer_policy_linux.cc @@ -15,6 +15,11 @@ #include "sandbox/linux/system_headers/linux_syscalls.h" #include "sandbox/policy/linux/sandbox_linux.h" +// On PPC64, TCGETS is defined in terms of struct termios, so we must include termios.h +#ifdef __powerpc64__ +#include +#endif + // TODO(vignatti): replace the local definitions below with #include // once kernel version 4.6 becomes widely used. #include