From 879f0655579a1f94fab2cd20a1597aef9a3117ef Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Wed, 22 Sep 2010 20:56:35 +0200 Subject: Fix compilation error (missing include statement) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ./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 Cc: Kevin Wolf Signed-off-by: Stefan Weil Signed-off-by: Anthony Liguori --- hw/sd.c | 1 + 1 file changed, 1 insertion(+) (limited to 'hw') diff --git a/hw/sd.c b/hw/sd.c index 4bcf1c01a6..601545b2d9 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 -- cgit v1.2.3