From 8b42dbddba340612c017bd34c2c90505a295113f Mon Sep 17 00:00:00 2001 From: FunkyFr3sh Date: Sun, 6 Aug 2023 09:37:43 +0200 Subject: [PATCH] add missing header --- src/IDirectDraw/IDirectDraw.c | 1 + src/debug.c | 1 + src/opengl_utils.c | 1 + src/render_d3d9.c | 1 + 4 files changed, 4 insertions(+) diff --git a/src/IDirectDraw/IDirectDraw.c b/src/IDirectDraw/IDirectDraw.c index 50de4f8..31960c2 100644 --- a/src/IDirectDraw/IDirectDraw.c +++ b/src/IDirectDraw/IDirectDraw.c @@ -7,6 +7,7 @@ #include "ddpalette.h" #include "ddsurface.h" #include "debug.h" +#include "hook.h" HRESULT __stdcall IDirectDraw__QueryInterface(IDirectDrawImpl* This, REFIID riid, LPVOID FAR* ppvObj) diff --git a/src/debug.c b/src/debug.c index eee17a8..6ac0b88 100644 --- a/src/debug.c +++ b/src/debug.c @@ -6,6 +6,7 @@ #include "ddsurface.h" #include "wndproc.h" #include "debug.h" +#include "hook.h" double g_dbg_frame_time = 0; diff --git a/src/opengl_utils.c b/src/opengl_utils.c index ebd708d..89d41e3 100644 --- a/src/opengl_utils.c +++ b/src/opengl_utils.c @@ -3,6 +3,7 @@ #include "opengl_utils.h" #include "dd.h" #include "debug.h" +#include "hook.h" PFNWGLCREATECONTEXTPROC xwglCreateContext; PFNWGLDELETECONTEXTPROC xwglDeleteContext; diff --git a/src/render_d3d9.c b/src/render_d3d9.c index 98cf9aa..92ae32b 100644 --- a/src/render_d3d9.c +++ b/src/render_d3d9.c @@ -11,6 +11,7 @@ #include "blt.h" #include "debug.h" #include "D3d9types.h" +#include "hook.h" static BOOL d3d9_create_resources();