[Libguestfs] [PATCH] dd: Missing include of <string.h>

Richard W.M. Jones rjones at redhat.com
Wed Nov 25 11:43:06 UTC 2009


-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora
-------------- next part --------------
>From 50cf04440eb21a5252ca6befd5f308bb308f19df Mon Sep 17 00:00:00 2001
From: Richard Jones <rjones at redhat.com>
Date: Tue, 24 Nov 2009 16:10:13 +0000
Subject: [PATCH 2/4] dd: Missing include of <string.h>

Breaks compilation on Windows.
---
 daemon/dd.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/daemon/dd.c b/daemon/dd.c
index 2402e13..0a53b31 100644
--- a/daemon/dd.c
+++ b/daemon/dd.c
@@ -20,6 +20,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 
 #include "../src/guestfs_protocol.h"
 #include "daemon.h"
-- 
1.6.5.2



More information about the Libguestfs mailing list