Fix compilation with GCC13

See also https://bugs.debian.org/1037668
This commit is contained in:
Stephan Lachnit 2023-07-21 01:39:31 +02:00 committed by Simon Ser
parent 946c75d14a
commit eb42671200
3 changed files with 3 additions and 0 deletions

View file

@ -93,6 +93,7 @@ extern "C" {
#include <unordered_map>
#include <mutex>
#include <vector>
#include <string>
struct saved_mode {
int width;

View file

@ -5,6 +5,7 @@
#include <mutex>
#include <vector>
#include <cstring>
#include <string>
#if defined(__linux__)
#include <sys/capability.h>
#endif

View file

@ -2,6 +2,7 @@
#include <thread>
#include <mutex>
#include <string>
#include <linux/input-event-codes.h>