projects/guix·blob python-team · refs

48 lines · 1.5 KiB

1From e9c78dc4712fa6362b0c839ad57b6b46dce1ba83 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Fran=C3=A7ois=20Laignel?= <[email protected]>
3Date: Mon, 14 Apr 2025 16:48:19 +0200
4Subject: [PATCH] Fix compilation with gcc-15
5
6This commit fixes compilation errors with gcc-15 (default for Fedora 42).
7
8From [1]:
9
10> Common C++ headers (like <memory>) in GCC 15.0.0 (combined with libstdc++)
11> don't transitively include uint64_t anymore.
12
13See also [2].
14
15[1]: https://github.com/ROCm/rocm_smi_lib/pull/198
16[2]: https://github.com/root-project/root/issues/17444
17---
18 .../audio_processing/aec3/multi_channel_content_detector.h | 1 +
19 webrtc/rtc_base/trace_event.h | 1 +
20 2 files changed, 2 insertions(+)
21
22diff --git a/webrtc/modules/audio_processing/aec3/multi_channel_content_detector.h b/webrtc/modules/audio_processing/aec3/multi_channel_content_detector.h
23index 2b2f3b8..feb29fd 100644
24--- a/webrtc/modules/audio_processing/aec3/multi_channel_content_detector.h
25+++ b/webrtc/modules/audio_processing/aec3/multi_channel_content_detector.h
26@@ -12,6 +12,7 @@
27 #define MODULES_AUDIO_PROCESSING_AEC3_MULTI_CHANNEL_CONTENT_DETECTOR_H_
28
29 #include <stddef.h>
30+#include <cstdint>
31
32 #include <memory>
33 #include <optional>
34diff --git a/webrtc/rtc_base/trace_event.h b/webrtc/rtc_base/trace_event.h
35index 2aee713..f88a68e 100644
36--- a/webrtc/rtc_base/trace_event.h
37+++ b/webrtc/rtc_base/trace_event.h
38@@ -28,6 +28,7 @@
39
40 #if !defined(RTC_USE_PERFETTO)
41 #include <string>
42+#include <cstdint>
43
44 #include "rtc_base/event_tracer.h"
45
46--
47GitLab
48