From 0ce785c0550b86e5a76bca0f8dd8837db5d349db Mon Sep 17 00:00:00 2001 From: bruhmoent Date: Sun, 17 Nov 2024 12:48:55 +0100 Subject: [PATCH] Fix includes --- src/gui/menu_color.cpp | 2 ++ src/video/color.cpp | 3 +++ src/video/color.hpp | 9 ++------- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/gui/menu_color.cpp b/src/gui/menu_color.cpp index 151aae2bf2..0bf72760cb 100644 --- a/src/gui/menu_color.cpp +++ b/src/gui/menu_color.cpp @@ -15,6 +15,8 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . +#include + #include "gui/menu_color.hpp" #include "menu_item.hpp" #include "../util/log.hpp" diff --git a/src/video/color.cpp b/src/video/color.cpp index b50528e2ce..d8cad06691 100644 --- a/src/video/color.cpp +++ b/src/video/color.cpp @@ -14,9 +14,12 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . +#include "../math/util.hpp" #include "video/color.hpp" #include +#include +#include const Color Color::BLACK(0.0, 0.0, 0.0); const Color Color::RED(1.0, 0.0, 0.0); diff --git a/src/video/color.hpp b/src/video/color.hpp index 3878d5fcf4..90132ec12e 100644 --- a/src/video/color.hpp +++ b/src/video/color.hpp @@ -17,15 +17,10 @@ #ifndef HEADER_SUPERTUX_VIDEO_COLOR_HPP #define HEADER_SUPERTUX_VIDEO_COLOR_HPP -#include "../math/util.hpp" - -#include -#include -#include #include -#include +#include #include -#include +#include #include