diff --git a/src/pc/gfx/gfx_opengl.c b/src/pc/gfx/gfx_opengl.c index a0c27beda..b13114424 100644 --- a/src/pc/gfx/gfx_opengl.c +++ b/src/pc/gfx/gfx_opengl.c @@ -33,6 +33,7 @@ #endif +#include "../platform.h" #include "gfx_cc.h" #include "gfx_rendering_api.h" diff --git a/src/pc/gfx/gfx_opengl_legacy.c b/src/pc/gfx/gfx_opengl_legacy.c index 6ff04a78b..29a3a6992 100644 --- a/src/pc/gfx/gfx_opengl_legacy.c +++ b/src/pc/gfx/gfx_opengl_legacy.c @@ -40,6 +40,7 @@ static PFNMGLFOGCOORDPOINTERPROC mglFogCoordPointer = NULL; #define GL_FOG_COORD 0x8451 #define GL_FOG_COORD_ARRAY 0x8457 +#include "../platform.h" #include "gfx_cc.h" #include "gfx_rendering_api.h" #include "macros.h"