]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Include vmware/tools/log.h to define g_info.
authorOliver Kurth <okurth@vmware.com>
Wed, 30 Jan 2019 01:24:44 +0000 (17:24 -0800)
committerOliver Kurth <okurth@vmware.com>
Wed, 30 Jan 2019 01:24:44 +0000 (17:24 -0800)
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.

open-vm-tools/services/plugins/vmbackup/syncManifest.c

index 4586c4c344b3a915a1c2f51bfb9bb6be272d8b55..ddc995903f2018191e205b1d0ff154c291f11a70 100644 (file)
@@ -27,6 +27,7 @@
 #include "syncDriver.h"
 #include "syncManifest.h"
 #include "vm_tools_version.h"
+#include "vmware/tools/log.h"
 
 #include <unistd.h>
 #include <stdio.h>