https://git.reactos.org/?p=reactos.git;a=commitdiff;h=f454f4dc21487e0d8b80c70fd5419e4b706feb6c

commit f454f4dc21487e0d8b80c70fd5419e4b706feb6c
Author:     Mark Jansen <[email protected]>
AuthorDate: Sat May 16 18:19:31 2020 +0200
Commit:     Mark Jansen <[email protected]>
CommitDate: Sat May 16 20:17:43 2020 +0200

    [HOST-TOOLS] Fix the build from IDE for visual studio 2019 CE
    CORE-16904
---
 sdk/tools/cabman/cabinet.h  | 1 +
 sdk/tools/hhpcomp/utils.cpp | 1 +
 2 files changed, 2 insertions(+)

diff --git a/sdk/tools/cabman/cabinet.h b/sdk/tools/cabman/cabinet.h
index 02d23d398e2..3bf6ba6edad 100644
--- a/sdk/tools/cabman/cabinet.h
+++ b/sdk/tools/cabman/cabinet.h
@@ -9,6 +9,7 @@
 
 #if defined(_WIN32)
     #define WIN32_LEAN_AND_MEAN
+    #include <intrin.h>
     #include <windows.h>
 #else
     #include <typedefs.h>
diff --git a/sdk/tools/hhpcomp/utils.cpp b/sdk/tools/hhpcomp/utils.cpp
index c2c8dae8d17..ea62013b46c 100644
--- a/sdk/tools/hhpcomp/utils.cpp
+++ b/sdk/tools/hhpcomp/utils.cpp
@@ -23,6 +23,7 @@
 
 #if defined(_WIN32)
     #define WIN32_LEAN_AND_MEAN
+    #include <intrin.h>
     #include <windows.h>  // for GetFullPathNameA 
 #else
     #include <unistd.h>

Reply via email to