CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
firefox: updated to 52.5.3
[ports/opt-arm.git] / chromium / chromium-webrtc-r0.patch
CommitLineData
c6d538bf
VM
1From 7f90e2cceda0458cf56026eb6ccffb961a47804b Mon Sep 17 00:00:00 2001
2From: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
3Date: Fri, 13 Oct 2017 15:49:32 +0200
4Subject: [PATCH] IWYU: Include math.h for round(3).
5
6math.h was being implicitly included, which can break the build with
7alternative libc implementations.
8
9Bug: None
10Change-Id: I969b320b65d0f44abb33d3e1036cfbcb859a4952
11Reviewed-on: https://webrtc-review.googlesource.com/9384
12Reviewed-by: Tommi <tommi@webrtc.org>
13Commit-Queue: Raphael Kubo da Costa (rakuco) <raphael.kubo.da.costa@intel.com>
14Cr-Commit-Position: refs/heads/master@{#20292}
15---
16 p2p/base/port.cc | 2 ++
17 1 file changed, 2 insertions(+)
18
19diff --git a/p2p/base/port.cc b/p2p/base/port.cc
20index a1b478d11..81aa0aadb 100644
21--- a/third_party/webrtc/p2p/base/port.cc
22+++ b/third_party/webrtc/p2p/base/port.cc
23@@ -10,6 +10,8 @@
24
25 #include "p2p/base/port.h"
26
27+#include <math.h>
28+
29 #include <algorithm>
30 #include <vector>
31
32--
332.15.0.rc2
34