Following build error caused by commit 7c9a2d88:
libvirt.c: In function 'virConnectGetConfigFilePath':
libvirt.c:956:9: error: implicit declaration of function
'virGetUserConfigDirectory' [-Werror=implicit-function-declaration]
libvirt.c:956:9: error: nested extern declaration of 'virGetUserConfigDirectory'
[-Werror=nested-externs]
libvirt.c:956:25: error: initialization makes pointer from integer without a cast
[-Werror]
libvirt.c: In function 'virConnectGetConfigFile':
libvirt.c:987:5: error: implicit declaration of function 'virFileExists'
[-Werror=implicit-function-declaration]
libvirt.c:987:5: error: nested extern declaration of 'virFileExists'
[-Werror=nested-externs]
libvirt.c: In function 'virDomainSave':
libvirt.c:2623:9: error: implicit declaration of function 'virFileAbsPath'
[-Werror=implicit-function-declaration]
libvirt.c:2623:9: error: nested extern declaration of 'virFileAbsPath'
[-Werror=nested-externs]
Signed-off-by: Hu Tao <hutao(a)cn.fujitsu.com>
---
src/libvirt.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/libvirt.c b/src/libvirt.c
index 15b37a3..467f6dd 100644
--- a/src/libvirt.c
+++ b/src/libvirt.c
@@ -63,6 +63,7 @@
#include "viruri.h"
#include "virthread.h"
#include "virstring.h"
+#include "virutil.h"
#ifdef WITH_TEST
# include "test/test_driver.h"
--
1.8.1.4