From 07c48d101166930daa13bbcab6bf5c6be89a8bd8 Mon Sep 17 00:00:00 2001 From: Stephan Hartmann Date: Tue, 7 Apr 2020 10:02:27 +0000 Subject: [PATCH] GCC: fix includes for gcc-10 From https://gitweb.gentoo.org/repo/gentoo.git/plain/www-client/chromium/files/chromium-81-gcc-10.patch --- src/base/trace_event/trace_event_memory_overhead.h | 1 + src/chrome/browser/search/background/ntp_backgrounds.h | 1 + src/media/cdm/supported_cdm_versions.h | 1 + src/third_party/angle/include/platform/Platform.h | 1 + src/third_party/perfetto/include/perfetto/base/task_runner.h | 1 + src/third_party/webrtc/call/rtx_receive_stream.h | 1 + .../webrtc/modules/audio_processing/aec3/clockdrift_detector.h | 1 + 7 files changed, 7 insertions(+) diff --git a/src/base/trace_event/trace_event_memory_overhead.h b/src/base/trace_event/trace_event_memory_overhead.h index 69468d464..3f5b786aa 100644 --- a/src/base/trace_event/trace_event_memory_overhead.h +++ b/src/base/trace_event/trace_event_memory_overhead.h @@ -9,6 +9,7 @@ #include #include +#include #include "base/base_export.h" #include "base/macros.h" diff --git a/src/chrome/browser/search/background/ntp_backgrounds.h b/src/chrome/browser/search/background/ntp_backgrounds.h index 7afc0a230..ea5818e0d 100644 --- a/src/chrome/browser/search/background/ntp_backgrounds.h +++ b/src/chrome/browser/search/background/ntp_backgrounds.h @@ -6,6 +6,7 @@ #define CHROME_BROWSER_SEARCH_BACKGROUND_NTP_BACKGROUNDS_H_ #include +#include class GURL; diff --git a/src/media/cdm/supported_cdm_versions.h b/src/media/cdm/supported_cdm_versions.h index 2b54e197b..f34a2a265 100644 --- a/src/media/cdm/supported_cdm_versions.h +++ b/src/media/cdm/supported_cdm_versions.h @@ -6,6 +6,7 @@ #define MEDIA_CDM_SUPPORTED_CDM_VERSIONS_H_ #include +#include #include "media/base/media_export.h" #include "media/cdm/api/content_decryption_module.h" diff --git a/src/third_party/angle/include/platform/Platform.h b/src/third_party/angle/include/platform/Platform.h index cea607055..829ada6d0 100644 --- a/src/third_party/angle/include/platform/Platform.h +++ b/src/third_party/angle/include/platform/Platform.h @@ -11,6 +11,7 @@ #include #include +#include #define EGL_PLATFORM_ANGLE_PLATFORM_METHODS_ANGLEX 0x3482 diff --git a/src/third_party/perfetto/include/perfetto/base/task_runner.h b/src/third_party/perfetto/include/perfetto/base/task_runner.h index cf6040123..02658e713 100644 --- a/src/third_party/perfetto/include/perfetto/base/task_runner.h +++ b/src/third_party/perfetto/include/perfetto/base/task_runner.h @@ -18,6 +18,7 @@ #define INCLUDE_PERFETTO_BASE_TASK_RUNNER_H_ #include +#include #include "perfetto/base/export.h" diff --git a/src/third_party/webrtc/call/rtx_receive_stream.h b/src/third_party/webrtc/call/rtx_receive_stream.h index 8ffa4400a..113a8168b 100644 --- a/src/third_party/webrtc/call/rtx_receive_stream.h +++ b/src/third_party/webrtc/call/rtx_receive_stream.h @@ -12,6 +12,7 @@ #define CALL_RTX_RECEIVE_STREAM_H_ #include +#include #include "call/rtp_packet_sink_interface.h" diff --git a/src/third_party/webrtc/modules/audio_processing/aec3/clockdrift_detector.h b/src/third_party/webrtc/modules/audio_processing/aec3/clockdrift_detector.h index 22528c948..69e624e8b 100644 --- a/src/third_party/webrtc/modules/audio_processing/aec3/clockdrift_detector.h +++ b/src/third_party/webrtc/modules/audio_processing/aec3/clockdrift_detector.h @@ -12,6 +12,7 @@ #define MODULES_AUDIO_PROCESSING_AEC3_CLOCKDRIFT_DETECTOR_H_ #include +#include namespace webrtc {