shithub: cstory

Download patch

ref: 187847fbcc663b96ee94ec400bd067d64e8b5433
parent: 3620e31bf83908c4ead54aa31853f13ae9322c39
author: Gabriel Ravier <gabravier@gmail.com>
date: Thu Jul 2 10:43:47 EDT 2020

src: Fixed not including headers that are included for detection of conflicting definitions

Signed-off-by: Gabriel Ravier <gabravier@gmail.com>

--- a/src/Backends/Rendering/SDLSurface.cpp
+++ b/src/Backends/Rendering/SDLSurface.cpp
@@ -13,6 +13,7 @@
 #include "SDL_video.h"
 
 #include "../Misc.h"
+#include "../Shared/SDL2.h"
 
 typedef struct RenderBackend_Surface
 {
--- a/src/Backends/Rendering/SDLTexture.cpp
+++ b/src/Backends/Rendering/SDLTexture.cpp
@@ -21,6 +21,7 @@
 #include "../../WindowsWrapper.h"
 
 #include "../Misc.h"
+#include "../Shared/SDL2.h"
 
 typedef struct RenderBackend_Surface
 {
--- a/src/Backends/Rendering/Window/OpenGL3/GLFW3.cpp
+++ b/src/Backends/Rendering/Window/OpenGL3/GLFW3.cpp
@@ -8,6 +8,7 @@
 #include <GLFW/glfw3.h>
 
 #include "../../../Misc.h"
+#include "../../../Shared/GLFW3.h"
 
 GLFWwindow *window;
 
--- a/src/Backends/Rendering/Window/OpenGL3/SDL2.cpp
+++ b/src/Backends/Rendering/Window/OpenGL3/SDL2.cpp
@@ -10,6 +10,7 @@
 #include "SDL_video.h"
 
 #include "../../../Misc.h"
+#include "../../../Shared/SDL2.h"
 
 SDL_Window *window;
 
--- a/src/Backends/Rendering/Window/Software/GLFW3.cpp
+++ b/src/Backends/Rendering/Window/Software/GLFW3.cpp
@@ -11,6 +11,7 @@
 #include <GLFW/glfw3.h>
 
 #include "../../../Misc.h"
+#include "../../../Shared/GLFW3.h"
 
 GLFWwindow *window;
 
--- a/src/Backends/Rendering/Window/Software/SDL2.cpp
+++ b/src/Backends/Rendering/Window/Software/SDL2.cpp
@@ -9,6 +9,7 @@
 #include "SDL_video.h"
 
 #include "../../../Misc.h"
+#include "../../../Shared/SDL2.h"
 
 SDL_Window *window;