Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/minhook.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTsuda Kageyu <tsuda.kageyu@gmail.com>2015-05-13 12:16:23 +0300
committerTsuda Kageyu <tsuda.kageyu@gmail.com>2015-05-13 12:16:23 +0300
commit5e2f2eaf73e8776eda7210d5c1f820ba7b6ceb9e (patch)
treee6cdd4746c5f65292f7fb2d88898e443b29f8fd0 /src
parentfecaa7bbc8a9537785a12e248bc097f326be69af (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.c2
-rw-r--r--src/trampoline.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/hook.c b/src/hook.c
index e1fe75a..f708f7a 100644
--- a/src/hook.c
+++ b/src/hook.c
@@ -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