merged in upstream
https://bugs.gentoo.org/923904
https://github.com/xmoto/xmoto/pull/213.patch
From 6a54426ce112a585238c3feca0b7ab5a3ac0fe51 Mon Sep 17 00:00:00 2001
From: nikekson <imbatman0xff@gmail.com>
Date: Wed, 27 Aug 2025 13:56:30 +0300
Subject: [PATCH] Add missing <cstdint> includes

Fixes MSYS2 build
---
 src/common/DBuffer.cpp | 2 ++
 src/common/VFileIO.cpp | 1 +
 src/helpers/utf8.h     | 1 +
 3 files changed, 4 insertions(+)

diff --git a/src/common/DBuffer.cpp b/src/common/DBuffer.cpp
index a49d28dc..093726c5 100644
--- a/src/common/DBuffer.cpp
+++ b/src/common/DBuffer.cpp
@@ -23,7 +23,9 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 #include "DBuffer.h"
 #include "helpers/SwapEndian.h"
+
 #include <algorithm>
+#include <cstdint>
 
 void DBuffer::_FreeDBuffer(void) {
   /* Free stuff if anything */
diff --git a/src/common/VFileIO.cpp b/src/common/VFileIO.cpp
index 42a4d367..75f8d03c 100644
--- a/src/common/VFileIO.cpp
+++ b/src/common/VFileIO.cpp
@@ -49,6 +49,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 #include "XMSession_default.h"
 #include "xmoto/UserConfig.h"
 
+#include <cstdint>
 #include <iostream>
 
 #ifdef WIN32
diff --git a/src/helpers/utf8.h b/src/helpers/utf8.h
index 9a58dd93..6dddb49a 100644
--- a/src/helpers/utf8.h
+++ b/src/helpers/utf8.h
@@ -21,6 +21,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 #ifndef __XMOTO_UTF8_H__
 #define __XMOTO_UTF8_H__
 
+#include <cstdint>
 #include <string>
 #include <vector>
 
