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

commit bd5d12710413e8e78638c1ea94cc91c5f6fa111c
Author:     Amine Khaldi <[email protected]>
AuthorDate: Mon Mar 5 00:07:53 2018 +0100
Commit:     Amine Khaldi <[email protected]>
CommitDate: Mon Mar 5 00:07:53 2018 +0100

    [DBGHELPHOST] Fix the *nix build.
---
 dll/win32/dbghelp/cpu_i386.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dll/win32/dbghelp/cpu_i386.c b/dll/win32/dbghelp/cpu_i386.c
index 592f56edde..86e8fdbdbe 100644
--- a/dll/win32/dbghelp/cpu_i386.c
+++ b/dll/win32/dbghelp/cpu_i386.c
@@ -20,13 +20,15 @@
 
 #include <assert.h>
 
+#ifndef DBGHELP_STATIC_LIB
 #include "ntstatus.h"
 #define WIN32_NO_STATUS
 #include "dbghelp_private.h"
-#ifndef DBGHELP_STATIC_LIB
 #include "wine/winbase16.h"
 #include "winternl.h"
 #include "wine/debug.h"
+#else
+#include "dbghelp_private.h"
 #endif
 
 WINE_DEFAULT_DEBUG_CHANNEL(dbghelp);

Reply via email to