From: Oliver Kurth Date: Tue, 19 Feb 2019 20:51:31 +0000 (-0800) Subject: Include vmware/tools/log.h to define g_info. X-Git-Tag: stable-11.0.0~216 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bda2908d861cbfae99119340d22c09aae99df51e;p=thirdparty%2Fopen-vm-tools.git Include vmware/tools/log.h to define g_info. A recent change added a call to g_info from syncManifest.c. This in turn is causing open-vm-tools builds to fail because g_info is not available on SLES 12sp1. To fix the problem, include vmware/tools/log.h in syncManifest.c. log.h defines g_info as a macro. --- diff --git a/open-vm-tools/services/plugins/vmbackup/syncManifest.c b/open-vm-tools/services/plugins/vmbackup/syncManifest.c index 4586c4c34..ddc995903 100644 --- a/open-vm-tools/services/plugins/vmbackup/syncManifest.c +++ b/open-vm-tools/services/plugins/vmbackup/syncManifest.c @@ -27,6 +27,7 @@ #include "syncDriver.h" #include "syncManifest.h" #include "vm_tools_version.h" +#include "vmware/tools/log.h" #include #include