diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/depends/target/waylandpp/001-fix-gcc13-build.patch | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/tools/depends/target/waylandpp/001-fix-gcc13-build.patch b/tools/depends/target/waylandpp/001-fix-gcc13-build.patch index c440c1141e..0cfcfc07e5 100644 --- a/tools/depends/target/waylandpp/001-fix-gcc13-build.patch +++ b/tools/depends/target/waylandpp/001-fix-gcc13-build.patch @@ -8,7 +8,16 @@ #include <wayland-version.hpp> #include <wayland-client-core.h> #include <wayland-util.hpp> - +--- a/include/wayland-server.hpp ++++ b/include/wayland-server.hpp +@@ -27,6 +27,7 @@ + #define WAYLAND_SERVER_HPP + + #include <atomic> ++#include <cstdint> + #include <functional> + #include <list> + #include <memory> --- a/scanner/scanner.cpp +++ b/scanner/scanner.cpp @@ -24,6 +24,7 @@ @@ -16,13 +25,13 @@ #include <cmath> #include <stdexcept> +#include <cstdint> - + #include "pugixml.hpp" - -@@ -928,6 +929,7 @@ + +@@ -1110,6 +1111,7 @@ int main(int argc, char *argv[]) << "#include <memory>" << std::endl << "#include <string>" << std::endl << "#include <vector>" << std::endl + << "#include <cstdint>" << std::endl << std::endl - << "#include <wayland-client.hpp>" << std::endl; + << (server ? "#include <wayland-server.hpp>" : "#include <wayland-client.hpp>") << std::endl; |