aboutsummaryrefslogtreecommitdiff
path: root/tools/depends/target/waylandpp/001-fix-gcc13-build.patch
blob: c440c1141eb4151f731a129b04791dba0de56b75 (plain)
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
--- a/include/wayland-client.hpp
+++ b/include/wayland-client.hpp
@@ -33,6 +33,7 @@
 #include <memory>
 #include <string>
 #include <vector>
+#include <cstdint>
 #include <wayland-version.hpp>
 #include <wayland-client-core.h>
 #include <wayland-util.hpp>

--- a/scanner/scanner.cpp
+++ b/scanner/scanner.cpp
@@ -24,6 +24,7 @@
 #include <cctype>
 #include <cmath>
 #include <stdexcept>
+#include <cstdint>

 #include "pugixml.hpp"

@@ -928,6 +929,7 @@
               << "#include <memory>" << std::endl
               << "#include <string>" << std::endl
               << "#include <vector>" << std::endl
+              << "#include <cstdint>" << std::endl
               << std::endl
               << "#include <wayland-client.hpp>" << std::endl;