diff --git a/defines/xdk_defines.h b/defines/xdk_defines.h index 6cdd94f9ac..bdd7d646d0 100644 --- a/defines/xdk_defines.h +++ b/defines/xdk_defines.h @@ -16,6 +16,6 @@ #ifndef _XDK_DEFINES_H #define _XDK_DEFINES_H -typedef HANDLE HWCLASSEX; +typedef HANDLE WNDCLASSEX; #endif diff --git a/gfx/d3d/d3d.h b/gfx/d3d/d3d.h index bb300da3b1..8736015c61 100644 --- a/gfx/d3d/d3d.h +++ b/gfx/d3d/d3d.h @@ -57,6 +57,9 @@ #include "../video_viewport.h" #include "d3d_wrapper.h" #include "render_chain_driver.h" +#ifdef _XBOX +#include "../../defines/xdk_defines.h" +#endif typedef struct {