diff options
author | Tsuda Kageyu <tsuda.kageyu@gmail.com> | 2015-05-13 12:16:23 +0300 |
---|---|---|
committer | Tsuda Kageyu <tsuda.kageyu@gmail.com> | 2015-05-13 12:16:23 +0300 |
commit | 5e2f2eaf73e8776eda7210d5c1f820ba7b6ceb9e (patch) | |
tree | e6cdd4746c5f65292f7fb2d88898e443b29f8fd0 /src | |
parent | fecaa7bbc8a9537785a12e248bc097f326be69af (diff) |
Change the include paths to remove the dependency on the solution directory.
It enables other projects to incorporate MinHook with git-submodule.
Diffstat (limited to 'src')
-rw-r--r-- | src/hook.c | 2 | ||||
-rw-r--r-- | src/trampoline.c | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -31,7 +31,7 @@ #include <intrin.h> #include <xmmintrin.h> -#include "MinHook.h" +#include "../include/MinHook.h" #include "buffer.h" #include "trampoline.h" diff --git a/src/trampoline.c b/src/trampoline.c index 3f9f8db..8e59c3f 100644 --- a/src/trampoline.c +++ b/src/trampoline.c @@ -30,11 +30,11 @@ #include <intrin.h> #ifdef _M_X64 - #include "hde/hde64.h" + #include "./hde/hde64.h" typedef hde64s HDE; #define HDE_DISASM(code, hs) hde64_disasm(code, hs) #else - #include "hde/hde32.h" + #include "./hde/hde32.h" typedef hde32s HDE; #define HDE_DISASM(code, hs) hde32_disasm(code, hs) #endif |