[libvirt] [PATCH] util: fix compile errors caused by moving string functions

Laine Stump laine at laine.org
Thu May 2 17:27:53 UTC 2013


commit 7c9a2d8 missed adding in a few #include "virstring.h"s, causing
builds to fail.
---

Pushed under the build-breaker rule.

 src/locking/lock_driver_sanlock.c      | 1 +
 src/storage/storage_backend_rbd.c      | 1 +
 src/storage/storage_backend_sheepdog.c | 1 +
 tests/storagebackendsheepdogtest.c     | 1 +
 4 files changed, 4 insertions(+)

diff --git a/src/locking/lock_driver_sanlock.c b/src/locking/lock_driver_sanlock.c
index 48c6d56..4b48868 100644
--- a/src/locking/lock_driver_sanlock.c
+++ b/src/locking/lock_driver_sanlock.c
@@ -43,6 +43,7 @@
 #include "virfile.h"
 #include "md5.h"
 #include "virconf.h"
+#include "virstring.h"
 
 #include "configmake.h"
 
diff --git a/src/storage/storage_backend_rbd.c b/src/storage/storage_backend_rbd.c
index ca23d4b..99024e3 100644
--- a/src/storage/storage_backend_rbd.c
+++ b/src/storage/storage_backend_rbd.c
@@ -30,6 +30,7 @@
 #include "virlog.h"
 #include "base64.h"
 #include "viruuid.h"
+#include "virstring.h"
 #include "rados/librados.h"
 #include "rbd/librbd.h"
 
diff --git a/src/storage/storage_backend_sheepdog.c b/src/storage/storage_backend_sheepdog.c
index dfa5673..a9ee7d3 100644
--- a/src/storage/storage_backend_sheepdog.c
+++ b/src/storage/storage_backend_sheepdog.c
@@ -32,6 +32,7 @@
 #include "vircommand.h"
 #include "viralloc.h"
 #include "virlog.h"
+#include "virstring.h"
 
 #define VIR_FROM_THIS VIR_FROM_STORAGE
 
diff --git a/tests/storagebackendsheepdogtest.c b/tests/storagebackendsheepdogtest.c
index 8800acb..9b43a6d 100644
--- a/tests/storagebackendsheepdogtest.c
+++ b/tests/storagebackendsheepdogtest.c
@@ -32,6 +32,7 @@
 #include "internal.h"
 #include "testutils.h"
 #include "storage/storage_backend_sheepdog.h"
+#include "virstring.h"
 
 
 typedef struct {
-- 
1.7.11.7




More information about the libvir-list mailing list