diff options
-rw-r--r-- | src/hde/hde32.c | 4 | ||||
-rw-r--r-- | src/trampoline.c | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/hde/hde32.c b/src/hde/hde32.c index 08fa25b..3a3556a 100644 --- a/src/hde/hde32.c +++ b/src/hde/hde32.c @@ -10,6 +10,10 @@ #include "hde32.h" #include "table32.h" +#ifdef _MSC_VER +#include <intrin.h> +#endif + unsigned int hde32_disasm(const void *code, hde32s *hs) { uint8_t x, c, *p = (uint8_t *)code, cflags, opcode, pref = 0; diff --git a/src/trampoline.c b/src/trampoline.c index f608e6d..77b6d76 100644 --- a/src/trampoline.c +++ b/src/trampoline.c @@ -28,6 +28,10 @@ #include <windows.h> +#ifdef _MSC_VER +#include <intrin.h> +#endif + #ifndef ARRAYSIZE #define ARRAYSIZE(A) (sizeof(A)/sizeof((A)[0])) #endif |