aports/testing/gamescope/gcc13.patch
2023-05-20 02:19:03 +02:00

42 lines
880 B
Diff

diff --git a/src/drm.hpp b/src/drm.hpp
index 2f416c4..849ec96 100644
--- a/src/drm.hpp
+++ b/src/drm.hpp
@@ -40,12 +40,13 @@ extern "C" {
#include "rendervulkan.hpp"
+#include <string>
#include <unordered_map>
#include <utility>
#include <atomic>
#include <map>
#include <unordered_map>
#include <mutex>
#include <vector>
struct saved_mode {
diff --git a/src/main.cpp b/src/main.cpp
index 99a7a48..4cab9d1 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -2,6 +2,7 @@
#include <cstdio>
#include <thread>
+#include <string>
#include <mutex>
#include <vector>
#include <cstring>
diff --git a/src/sdlwindow.cpp b/src/sdlwindow.cpp
index ecf95ce..d886e15 100644
--- a/src/sdlwindow.cpp
+++ b/src/sdlwindow.cpp
@@ -1,5 +1,6 @@
// For the nested case, reads input from the SDL window and send to wayland
+#include <string>
#include <thread>
#include <mutex>