From f82987ceec6a84b0a7bbe6f6a1d23ae9e10454c8 Mon Sep 17 00:00:00 2001 From: FunkyFr3sh Date: Sun, 16 Jun 2024 05:37:55 +0200 Subject: [PATCH] add header --- src/winapi_hooks.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/winapi_hooks.c b/src/winapi_hooks.c index b3a4cce..b1b3ab1 100644 --- a/src/winapi_hooks.c +++ b/src/winapi_hooks.c @@ -1,6 +1,7 @@ #include #include #include +#include #include "debug.h" #include "config.h" #include "dd.h" @@ -19,6 +20,7 @@ #include "hook.h" #include "directinput.h" +#pragma intrinsic(_ReturnAddress) BOOL WINAPI fake_GetCursorPos(LPPOINT lpPoint) {