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

Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
This commit is contained in:
Gabriel Ravier 2020-07-02 14:43:47 +02:00
parent 3620e31bf8
commit 187847fbcc
6 changed files with 6 additions and 0 deletions

View file

@ -13,6 +13,7 @@
#include "SDL_video.h" #include "SDL_video.h"
#include "../Misc.h" #include "../Misc.h"
#include "../Shared/SDL2.h"
typedef struct RenderBackend_Surface typedef struct RenderBackend_Surface
{ {

View file

@ -21,6 +21,7 @@
#include "../../WindowsWrapper.h" #include "../../WindowsWrapper.h"
#include "../Misc.h" #include "../Misc.h"
#include "../Shared/SDL2.h"
typedef struct RenderBackend_Surface typedef struct RenderBackend_Surface
{ {

View file

@ -8,6 +8,7 @@
#include <GLFW/glfw3.h> #include <GLFW/glfw3.h>
#include "../../../Misc.h" #include "../../../Misc.h"
#include "../../../Shared/GLFW3.h"
GLFWwindow *window; GLFWwindow *window;

View file

@ -10,6 +10,7 @@
#include "SDL_video.h" #include "SDL_video.h"
#include "../../../Misc.h" #include "../../../Misc.h"
#include "../../../Shared/SDL2.h"
SDL_Window *window; SDL_Window *window;

View file

@ -11,6 +11,7 @@
#include <GLFW/glfw3.h> #include <GLFW/glfw3.h>
#include "../../../Misc.h" #include "../../../Misc.h"
#include "../../../Shared/GLFW3.h"
GLFWwindow *window; GLFWwindow *window;

View file

@ -9,6 +9,7 @@
#include "SDL_video.h" #include "SDL_video.h"
#include "../../../Misc.h" #include "../../../Misc.h"
#include "../../../Shared/SDL2.h"
SDL_Window *window; SDL_Window *window;