From: Oliver Kurth Date: Mon, 26 Feb 2018 20:29:08 +0000 (-0800) Subject: Common source file change; not applicable to open-vm-tools. X-Git-Tag: stable-10.3.0~101 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=047f05f379eb73530ac943d35cda5c162e045fa2;p=thirdparty%2Fopen-vm-tools.git Common source file change; not applicable to open-vm-tools. --- diff --git a/open-vm-tools/lib/vmCheck/vmcheck.c b/open-vm-tools/lib/vmCheck/vmcheck.c index bbe08a025..5e726f553 100644 --- a/open-vm-tools/lib/vmCheck/vmcheck.c +++ b/open-vm-tools/lib/vmCheck/vmcheck.c @@ -30,9 +30,15 @@ # include #endif +#if (!defined(WINNT_DDK) && defined(_WIN32)) +// include windows.h, otherwise DWORD type used in hostinfo.h is not defined +# include "windows.h" +#endif + #include "vmware.h" #include "vm_version.h" #include "vm_tools_version.h" + #if !defined(WINNT_DDK) # include "hostinfo.h" # include "str.h"