File fix-gcc15.patch of Package panzerchasm
https://github.com/Panzerschrek/Chasm-Reverse/pull/69 From 51ffe9f4a0e75929fb84e7d31ce0814ca1e1219d Mon Sep 17 00:00:00 2001 From: "Bernhard M. Wiedemann" <bwiedemann@suse.de> Date: Mon, 8 Dec 2025 03:34:50 +0100 Subject: [PATCH] Include cstdint to make it compile on openSUSE Tumbleweed's gcc15 Without this, it did not find definitions for uint32_t etc --- src/net/net.hpp | 1 + src/rendering_context.hpp | 1 + 2 files changed, 2 insertions(+) diff --git a/src/net/net.hpp b/src/net/net.hpp index 50e40c44..36477c0f 100644 --- a/src/net/net.hpp +++ b/src/net/net.hpp @@ -1,4 +1,5 @@ #pragma once +#include <cstdint> #include "../fwd.hpp" namespace PanzerChasm diff --git a/src/rendering_context.hpp b/src/rendering_context.hpp index f238d91f..c27cc6e9 100644 --- a/src/rendering_context.hpp +++ b/src/rendering_context.hpp @@ -1,4 +1,5 @@ #pragma once +#include <cstdint> #include <memory> #include <shaders_loading.hpp>