]> git.proxmox.com Git - qemu.git/commitdiff
Fix compilation error (missing include statement)
authorStefan Weil <weil@mail.berlios.de>
Wed, 22 Sep 2010 18:56:35 +0000 (20:56 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 22 Sep 2010 19:02:33 +0000 (14:02 -0500)
./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 <hch@lst.de>
Cc: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/sd.c

diff --git a/hw/sd.c b/hw/sd.c
index 4bcf1c01a65878453ad6c4e645a115c32e319b43..601545b2d9bfc6482aaee0c4c79537217924f030 100644 (file)
--- 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