From eb42671200ca6b65cdfe8d5c3664faca110a888d Mon Sep 17 00:00:00 2001 From: Stephan Lachnit Date: Fri, 21 Jul 2023 01:39:31 +0200 Subject: [PATCH] Fix compilation with GCC13 See also https://bugs.debian.org/1037668 --- src/drm.hpp | 1 + src/main.cpp | 1 + src/sdlwindow.cpp | 1 + 3 files changed, 3 insertions(+) diff --git a/src/drm.hpp b/src/drm.hpp index f7fc276..4d8afc6 100644 --- a/src/drm.hpp +++ b/src/drm.hpp @@ -93,6 +93,7 @@ extern "C" { #include #include #include +#include struct saved_mode { int width; diff --git a/src/main.cpp b/src/main.cpp index 078d4d2..6f7ec3f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -5,6 +5,7 @@ #include #include #include +#include #if defined(__linux__) #include #endif diff --git a/src/sdlwindow.cpp b/src/sdlwindow.cpp index d915ab8..0b4496a 100644 --- a/src/sdlwindow.cpp +++ b/src/sdlwindow.cpp @@ -2,6 +2,7 @@ #include #include +#include #include