diff --git a/src/osd/eminline.h b/src/osd/eminline.h index 519b2b93154..6d3b301b8ad 100644 --- a/src/osd/eminline.h +++ b/src/osd/eminline.h @@ -12,6 +12,9 @@ #ifndef __EMINLINE__ #define __EMINLINE__ +#include "osdcomm.h" +#include "osdcore.h" + #if !defined(MAME_NOASM) /* we come with implementations for GCC x86 and PPC */ #if defined(__GNUC__) diff --git a/src/osd/modules/opengl/gl_shader_mgr.h b/src/osd/modules/opengl/gl_shader_mgr.h index 69400d90dc2..532d40c30fe 100644 --- a/src/osd/modules/opengl/gl_shader_mgr.h +++ b/src/osd/modules/opengl/gl_shader_mgr.h @@ -4,6 +4,8 @@ #ifndef GL_SHADER_MGR_H #define GL_SHADER_MGR_H +#include "osd_opengl.h" + // #define GLSL_SOURCE_ON_DISK 1 enum GLSL_SHADER_FEATURE {