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 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
|
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>
|