[libvirt] [PATCH] Fix a compile warning in parthelper.c

Chris Lalancette clalance at redhat.com
Thu Jan 21 16:33:18 UTC 2010


Signed-off-by: Chris Lalancette <clalance at redhat.com>
---
 src/storage/parthelper.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/storage/parthelper.c b/src/storage/parthelper.c
index 5df46e8..ab04842 100644
--- a/src/storage/parthelper.c
+++ b/src/storage/parthelper.c
@@ -34,6 +34,7 @@
 
 #include <parted/parted.h>
 #include <stdio.h>
+#include <string.h>
 
 /* we don't need to include the full internal.h just for this */
 #define STREQ(a,b) (strcmp((a),(b)) == 0)
-- 
1.6.6




More information about the libvir-list mailing list