Fix build with gcc-13
authorTimo Röhling <roehling@debian.org>
Thu, 22 Jun 2023 08:54:04 +0000 (10:54 +0200)
committerTimo Röhling <roehling@debian.org>
Thu, 22 Jun 2023 12:15:22 +0000 (14:15 +0200)
Gbp-Pq: Name 0019-Fix-build-with-gcc-13.patch

libs/filamat/src/eiff/BlobDictionary.h
libs/filamat/src/eiff/LineDictionary.cpp
libs/utils/src/linux/Path.cpp
tools/glslminifier/src/GlslMinify.h
tools/resgen/src/main.cpp

index 100f5b29af5e1ded6e61ff20fb9d2a874d2e2640..5284c9ab0f4a20c8ed54ae6ab9faad282d97db72 100644 (file)
@@ -18,6 +18,7 @@
 #define TNT_FILAMAT_BLOBDICTIONARY_H
 
 #include <cassert>
+#include <cstdint>
 #include <string>
 #include <unordered_map>
 #include <vector>
index c5685a91a65775b7dadee83771bcccd1cd0f9c11..fba2a6029604222a2e889dbc85d4a2fe523d1172 100644 (file)
@@ -17,6 +17,7 @@
 #include "LineDictionary.h"
 
 #include <assert.h>
+#include <cstdint>
 
 namespace filamat {
 
index 5bbc8e7ba076d460ac914bc9a9785207be4cefe3..9afeca1c1a1f68bdefc385c3e269fed6703dffb0 100644 (file)
@@ -20,6 +20,8 @@
 #include <unistd.h>
 #include <sys/stat.h>
 
+#include <cstdint>
+
 namespace utils {
 
 bool Path::mkdir() const {
index c04e2fa42e577d035ee33dd29c400fb8b941afe8..5da64ba066e0c1f328020c6c556c8770322e58ec 100644 (file)
@@ -14,6 +14,7 @@
  * limitations under the License.
  */
 
+#include <cstdint>
 #include <string>
 
 #ifndef TNT_GLSLMINIFY_H
index 083e7d654602731b491ad71cbe9735519939e455..d092623385f8acff6abbbfa12fe5826902eaecc1 100644 (file)
@@ -19,6 +19,7 @@
 #include <getopt/getopt.h>
 
 #include <algorithm>
+#include <cstdint>
 #include <fstream>
 #include <iomanip>
 #include <iostream>