[libvirt] [PATCH] build: Fix build when WITH_HAL is defined

Jim Fehlig jfehlig at suse.com
Thu May 2 22:02:06 UTC 2013


Commit 7c9a2d88 missed inclusion of virstring.h in a few places
when WITH_HAL is defined, causing build failures.
---

Pushing under build-breaker rule.

 src/node_device/node_device_driver.c | 1 +
 src/node_device/node_device_hal.c    | 1 +
 2 files changed, 2 insertions(+)

diff --git a/src/node_device/node_device_driver.c b/src/node_device/node_device_driver.c
index 95df2e5..05dc49c 100644
--- a/src/node_device/node_device_driver.c
+++ b/src/node_device/node_device_driver.c
@@ -33,6 +33,7 @@
 #include "datatypes.h"
 #include "viralloc.h"
 #include "virlog.h"
+#include "virstring.h"
 #include "node_device_conf.h"
 #include "node_device_hal.h"
 #include "node_device_driver.h"
diff --git a/src/node_device/node_device_hal.c b/src/node_device/node_device_hal.c
index 63245a9..8c77cc3 100644
--- a/src/node_device/node_device_hal.c
+++ b/src/node_device/node_device_hal.c
@@ -39,6 +39,7 @@
 #include "virlog.h"
 #include "node_device_driver.h"
 #include "virdbus.h"
+#include "virstring.h"
 
 #define VIR_FROM_THIS VIR_FROM_NODEDEV
 
-- 
1.8.0.1




More information about the libvir-list mailing list