heaptrack: fix build on musl

This commit is contained in:
meator 2025-01-12 15:25:58 +01:00 committed by classabbyamp
parent aa72224832
commit 1de43be473

View file

@ -0,0 +1,25 @@
From 79a85b281890fd851c9e4b79e69541bccd7196f1 Mon Sep 17 00:00:00 2001
From: Milian Wolff <mail@milianw.de>
Date: Sun, 26 Jan 2025 14:24:45 +0100
Subject: [PATCH] Fix build on musl
Original patch by "meator" on github, see:
https://github.com/KDE/heaptrack/pull/55
Thanks!
---
src/analyze/suppressions.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/analyze/suppressions.h b/src/analyze/suppressions.h
index 2c674470..0a5a4893 100644
--- a/src/analyze/suppressions.h
+++ b/src/analyze/suppressions.h
@@ -9,6 +9,7 @@
#include <string>
#include <vector>
+#include <cstdint>
#include <sys/types.h>