]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
vm_version.h should include vm_tools_version.h only for Tools builds.
authorOliver Kurth <okurth@vmware.com>
Tue, 4 Sep 2018 22:40:58 +0000 (15:40 -0700)
committerOliver Kurth <okurth@vmware.com>
Tue, 4 Sep 2018 22:40:58 +0000 (15:40 -0700)
open-vm-tools/lib/include/vm_version.h

index a984280636cb21d2a38e19a9bfcf4fd44a857c6e..72dd3aef99bad326a451283122005f1d5cf02d78 100644 (file)
@@ -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"