From: Oliver Kurth Date: Fri, 26 Oct 2018 17:44:59 +0000 (-0700) Subject: include log.h to workaround missing g_info() in glib X-Git-Tag: stable-11.0.0~359 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30a576e296250f377fc490ac6d1b37f215f798ad;p=thirdparty%2Fopen-vm-tools.git include log.h to workaround missing g_info() in glib Older versions of glib (< 2.40) do not have g_info(). There is a workaround in vmware/tools/log.h, but it wasn't included in toolsHangDetector.c. --- diff --git a/open-vm-tools/services/vmtoolsd/toolsHangDetector.c b/open-vm-tools/services/vmtoolsd/toolsHangDetector.c index 97b68808c..1bbeb720d 100644 --- a/open-vm-tools/services/vmtoolsd/toolsHangDetector.c +++ b/open-vm-tools/services/vmtoolsd/toolsHangDetector.c @@ -25,6 +25,7 @@ #include #include "vmware.h" +#include "vmware/tools/log.h" #include "vmware/tools/threadPool.h" #include "toolsHangDetector.h"