File: 0001-Explicit-header-stdint.patch

package info (click to toggle)
apitrace 11.1%2Brepack-2.1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 13,672 kB
  • sloc: cpp: 183,112; python: 33,685; ansic: 25,073; sh: 143; makefile: 88
file content (40 lines) | stat: -rw-r--r-- 1,088 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
From 952bad1469ea747012bdc48c48993bd5f13eec04 Mon Sep 17 00:00:00 2001
From: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
Date: Fri, 21 Mar 2025 05:02:23 +0000
Subject: Explicit header: stdint

Fix building with GCC-15. It no longer includes it by default.

Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
---
 frametrim/ft_dependecyobject.hpp | 1 +
 retrace/metric_writer.cpp        | 1 +
 2 files changed, 2 insertions(+)

diff --git a/frametrim/ft_dependecyobject.hpp b/frametrim/ft_dependecyobject.hpp
index 2cd0b768..0f17b601 100644
--- a/frametrim/ft_dependecyobject.hpp
+++ b/frametrim/ft_dependecyobject.hpp
@@ -28,6 +28,7 @@
 #pragma once
 
 #include "ft_tracecall.hpp"
+#include <stdint.h>
 
 namespace frametrim {
 
diff --git a/retrace/metric_writer.cpp b/retrace/metric_writer.cpp
index e923ed1d..4e4ce748 100644
--- a/retrace/metric_writer.cpp
+++ b/retrace/metric_writer.cpp
@@ -24,6 +24,7 @@
  **************************************************************************/
 
 #include <iostream>
+#include <stdint.h>
 
 #include "metric_writer.hpp"
 
-- 
2.30.2