On 09/22/2010 01:56 PM, Stefan Weil wrote:
./hw/sd.c: In function ‘sd_init’:
./hw/sd.c:443: error: implicit declaration of function ‘qemu_blockalign’
./hw/sd.c:443: error: nested extern declaration of ‘qemu_blockalign’
./hw/sd.c:443: error: assignment makes pointer from integer without a cast

Cc: Christoph Hellwig<h...@lst.de>
Cc: Kevin Wolf<kw...@redhat.com>
Signed-off-by: Stefan Weil<w...@mail.berlios.de>

Applied.  Thanks.

Regards,

Anthony Liguori

---
  hw/sd.c |    1 +
  1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/hw/sd.c b/hw/sd.c
index 4bcf1c0..601545b 100644
--- a/hw/sd.c
+++ b/hw/sd.c
@@ -31,6 +31,7 @@

  #include "hw.h"
  #include "block.h"
+#include "block_int.h"
  #include "sd.h"

  //#define DEBUG_SD 1


Reply via email to