From 48a7bed2c0506dbd672cff5498cb134926b1552f Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Sat, 28 Nov 2020 22:27:00 +0100 Subject: [PATCH] Fixed compilation errors on Fedora and GCC 10. --- es-app/src/FileFilterIndex.h | 1 + es-app/src/MetaData.h | 1 + es-core/src/InputManager.h | 1 + es-core/src/PowerSaver.cpp | 2 ++ es-core/src/Settings.h | 1 + es-core/src/Sound.h | 1 + 6 files changed, 7 insertions(+) diff --git a/es-app/src/FileFilterIndex.h b/es-app/src/FileFilterIndex.h index e213556fd..1dc8749ba 100644 --- a/es-app/src/FileFilterIndex.h +++ b/es-app/src/FileFilterIndex.h @@ -14,6 +14,7 @@ #endif #include +#include #include class FileData; diff --git a/es-app/src/MetaData.h b/es-app/src/MetaData.h index 05ca8f0dd..84220b6c2 100644 --- a/es-app/src/MetaData.h +++ b/es-app/src/MetaData.h @@ -15,6 +15,7 @@ #endif #include +#include #include namespace pugi { class xml_node; } diff --git a/es-core/src/InputManager.h b/es-core/src/InputManager.h index e0dbf84c2..9efdfa4ae 100644 --- a/es-core/src/InputManager.h +++ b/es-core/src/InputManager.h @@ -18,6 +18,7 @@ #endif #include +#include class InputConfig; class Window; diff --git a/es-core/src/PowerSaver.cpp b/es-core/src/PowerSaver.cpp index 621a121b3..52906493f 100644 --- a/es-core/src/PowerSaver.cpp +++ b/es-core/src/PowerSaver.cpp @@ -15,6 +15,8 @@ #include #endif +#include + bool PowerSaver::mState = false; bool PowerSaver::mRunningScreensaver = false; diff --git a/es-core/src/Settings.h b/es-core/src/Settings.h index e9d6434ab..f5849565b 100644 --- a/es-core/src/Settings.h +++ b/es-core/src/Settings.h @@ -11,6 +11,7 @@ #define ES_CORE_SETTINGS_H #include +#include // This is a singleton for storing settings. class Settings diff --git a/es-core/src/Sound.h b/es-core/src/Sound.h index ba6fd7893..83e83112d 100644 --- a/es-core/src/Sound.h +++ b/es-core/src/Sound.h @@ -17,6 +17,7 @@ #include #include #include +#include #include class ThemeData;