27 lines
1.1 KiB
Diff
27 lines
1.1 KiB
Diff
![]() |
From 7468b266532bd607eb1f5292d758256d800b2eee Mon Sep 17 00:00:00 2001
|
||
|
From: Shawn Anastasio <shawnanastasio@yahoo.com>
|
||
|
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-128.0.6613.113/sandbox/policy/linux/bpf_renderer_policy_linux.cc
|
||
|
===================================================================
|
||
|
--- chromium-128.0.6613.113.orig/sandbox/policy/linux/bpf_renderer_policy_linux.cc
|
||
|
+++ chromium-128.0.6613.113/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 <termios.h>
|
||
|
+#endif
|
||
|
+
|
||
|
// TODO(vignatti): replace the local definitions below with #include
|
||
|
// <linux/dma-buf.h> once kernel version 4.6 becomes widely used.
|
||
|
#include <linux/types.h>
|