From: Oliver Kurth Date: Tue, 4 Sep 2018 22:40:58 +0000 (-0700) Subject: vm_version.h should include vm_tools_version.h only for Tools builds. X-Git-Tag: stable-11.0.0~412 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49f64d6445dd20b7f3a07e8fee3dff5e1e9b03a5;p=thirdparty%2Fopen-vm-tools.git vm_version.h should include vm_tools_version.h only for Tools builds. --- diff --git a/open-vm-tools/lib/include/vm_version.h b/open-vm-tools/lib/include/vm_version.h index a98428063..72dd3aef9 100644 --- a/open-vm-tools/lib/include/vm_version.h +++ b/open-vm-tools/lib/include/vm_version.h @@ -1,5 +1,5 @@ /********************************************************* - * Copyright (C) 1998-2016 VMware, Inc. All rights reserved. + * Copyright (C) 1998-2016,2018 VMware, Inc. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published @@ -33,7 +33,9 @@ #define INCLUDE_ALLOW_VMCORE #include "includeCheck.h" #include "vm_product.h" +#if defined(VMX86_TOOLS) #include "vm_tools_version.h" +#endif #include "vm_vmx_type.h" #include "vm_compilation_options.h"