chromium-browser-stable-sla.../FEDORA-Fix-gcc-round.patch

39 lines
1.1 KiB
Diff

From 0b3d6660484f4751b859092e6d2726ff5b2e9564 Mon Sep 17 00:00:00 2001
From: Alexey Gladkov <legion@altlinux.org>
Date: Sun, 4 Feb 2018 00:10:48 +0300
Subject: [PATCH 20/24] FEDORA: Fix gcc round
---
third_party/webrtc/p2p/base/port.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/third_party/webrtc/p2p/base/port.cc b/third_party/webrtc/p2p/base/port.cc
index 5beb2bfe6ea..197528e88bd 100644
--- a/third_party/webrtc/p2p/base/port.cc
+++ b/third_party/webrtc/p2p/base/port.cc
@@ -3,21 +3,21 @@
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#include "p2p/base/port.h"
-#include <math.h>
+#include <cmath>
#include <algorithm>
#include <utility>
#include <vector>
#include "absl/memory/memory.h"
#include "p2p/base/portallocator.h"
#include "rtc_base/base64.h"
#include "rtc_base/checks.h"
#include "rtc_base/crc32.h"
--
2.17.1