--- /dev/null
+From: =?utf-8?q?Timo_R=C3=B6hling?= <roehling@debian.org>
+Date: Thu, 22 Jun 2023 10:54:04 +0200
+Subject: Fix build with gcc-13
+
+---
+ libs/filamat/src/eiff/BlobDictionary.h | 1 +
+ libs/filamat/src/eiff/LineDictionary.cpp | 1 +
+ libs/utils/src/linux/Path.cpp | 2 ++
+ tools/glslminifier/src/GlslMinify.h | 1 +
+ tools/resgen/src/main.cpp | 1 +
+ 5 files changed, 6 insertions(+)
+
+diff --git a/libs/filamat/src/eiff/BlobDictionary.h b/libs/filamat/src/eiff/BlobDictionary.h
+index 100f5b2..5284c9a 100644
+--- a/libs/filamat/src/eiff/BlobDictionary.h
++++ b/libs/filamat/src/eiff/BlobDictionary.h
+@@ -18,6 +18,7 @@
+ #define TNT_FILAMAT_BLOBDICTIONARY_H
+
+ #include <cassert>
++#include <cstdint>
+ #include <string>
+ #include <unordered_map>
+ #include <vector>
+diff --git a/libs/filamat/src/eiff/LineDictionary.cpp b/libs/filamat/src/eiff/LineDictionary.cpp
+index c5685a9..fba2a60 100644
+--- a/libs/filamat/src/eiff/LineDictionary.cpp
++++ b/libs/filamat/src/eiff/LineDictionary.cpp
+@@ -17,6 +17,7 @@
+ #include "LineDictionary.h"
+
+ #include <assert.h>
++#include <cstdint>
+
+ namespace filamat {
+
+diff --git a/libs/utils/src/linux/Path.cpp b/libs/utils/src/linux/Path.cpp
+index 5bbc8e7..9afeca1 100644
+--- a/libs/utils/src/linux/Path.cpp
++++ b/libs/utils/src/linux/Path.cpp
+@@ -20,6 +20,8 @@
+ #include <unistd.h>
+ #include <sys/stat.h>
+
++#include <cstdint>
++
+ namespace utils {
+
+ bool Path::mkdir() const {
+diff --git a/tools/glslminifier/src/GlslMinify.h b/tools/glslminifier/src/GlslMinify.h
+index c04e2fa..5da64ba 100644
+--- a/tools/glslminifier/src/GlslMinify.h
++++ b/tools/glslminifier/src/GlslMinify.h
+@@ -14,6 +14,7 @@
+ * limitations under the License.
+ */
+
++#include <cstdint>
+ #include <string>
+
+ #ifndef TNT_GLSLMINIFY_H
+diff --git a/tools/resgen/src/main.cpp b/tools/resgen/src/main.cpp
+index 083e7d6..d092623 100644
+--- a/tools/resgen/src/main.cpp
++++ b/tools/resgen/src/main.cpp
+@@ -19,6 +19,7 @@
+ #include <getopt/getopt.h>
+
+ #include <algorithm>
++#include <cstdint>
+ #include <fstream>
+ #include <iomanip>
+ #include <iostream>