mirror of
https://github.com/thead-yocto-mirror/meta-qt5
synced 2026-09-04 05:04:36 +02:00
qtwebengine: Fix missing headers found in build with clang
Fixes chromium/third_party/perfetto/include/perfetto/base/task_runner.h:48:55: error: unknown type name 'uint32_t' | virtual void PostDelayedTask(std::function<void()>, uint32_t delay_ms) = 0; Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
From c2ca4923d5e534789b205968eb01779a90ec1299 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Wed, 15 Jan 2020 16:53:46 -0800
|
||||
Subject: [PATCH] chromium: Include <cstddef> and <cstdint>
|
||||
|
||||
These headers are needed for uintXX_t and size_t definitions
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
chromium/media/cdm/supported_cdm_versions.h | 1 +
|
||||
.../third_party/perfetto/include/perfetto/base/task_runner.h | 1 +
|
||||
chromium/third_party/webrtc/call/rtx_receive_stream.h | 1 +
|
||||
3 files changed, 3 insertions(+)
|
||||
|
||||
diff --git a/chromium/media/cdm/supported_cdm_versions.h b/chromium/media/cdm/supported_cdm_versions.h
|
||||
index 3f220da8c71..c54e3bb7d30 100644
|
||||
--- a/chromium/media/cdm/supported_cdm_versions.h
|
||||
+++ b/chromium/media/cdm/supported_cdm_versions.h
|
||||
@@ -6,6 +6,7 @@
|
||||
#define MEDIA_CDM_SUPPORTED_CDM_VERSIONS_H_
|
||||
|
||||
#include <array>
|
||||
+#include <cstddef>
|
||||
|
||||
#include "media/base/media_export.h"
|
||||
#include "media/cdm/api/content_decryption_module.h"
|
||||
diff --git a/chromium/third_party/perfetto/include/perfetto/base/task_runner.h b/chromium/third_party/perfetto/include/perfetto/base/task_runner.h
|
||||
index cf60401238f..02658e7139b 100644
|
||||
--- a/chromium/third_party/perfetto/include/perfetto/base/task_runner.h
|
||||
+++ b/chromium/third_party/perfetto/include/perfetto/base/task_runner.h
|
||||
@@ -18,6 +18,7 @@
|
||||
#define INCLUDE_PERFETTO_BASE_TASK_RUNNER_H_
|
||||
|
||||
#include <functional>
|
||||
+#include <cstdint>
|
||||
|
||||
#include "perfetto/base/export.h"
|
||||
|
||||
diff --git a/chromium/third_party/webrtc/call/rtx_receive_stream.h b/chromium/third_party/webrtc/call/rtx_receive_stream.h
|
||||
index 8ffa4400a9c..a389fc2a574 100644
|
||||
--- a/chromium/third_party/webrtc/call/rtx_receive_stream.h
|
||||
+++ b/chromium/third_party/webrtc/call/rtx_receive_stream.h
|
||||
@@ -11,6 +11,7 @@
|
||||
#ifndef CALL_RTX_RECEIVE_STREAM_H_
|
||||
#define CALL_RTX_RECEIVE_STREAM_H_
|
||||
|
||||
+#include <cstdint>
|
||||
#include <map>
|
||||
|
||||
#include "call/rtp_packet_sink_interface.h"
|
||||
@@ -162,6 +162,7 @@ SRC_URI += " \
|
||||
file://chromium/0008-chromium-Fix-build-on-32bit-arches-with-64bit-time_t.patch;patchdir=src/3rdparty \
|
||||
file://chromium/0009-chromium-Include-cstddef-for-size_t-definition.patch;patchdir=src/3rdparty \
|
||||
file://chromium/0010-chromium-Move-CharAllocator-definition-to-a-header-f.patch;patchdir=src/3rdparty \
|
||||
file://chromium/0011-chromium-Include-cstddef-and-cstdint.patch;patchdir=src/3rdparty \
|
||||
"
|
||||
|
||||
SRC_URI_append_libc-musl = "\
|
||||
|
||||
Reference in New Issue
Block a user