Fix compilation error (missing include statement)
PATCH 1/1 Fix compilation error (missing include statement)
./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 <[email protected]>
Cc Kevin Wolf <[email protected]>
Signed-off-by Stefan Weil <[email protected]>
--- hw/sd.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
hw/sd.c +1 -0
@@ -31,6 +31,7 @@#include "hw.h" #include "block.h" +#include "block_int.h" #include "sd.h" //#define DEBUG_SD 1
Signature · 1 line
1.7.1
Anthony Liguori
AppliedQuoted 9 lines · Stefan Weil
./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 castCc Christoph Hellwig<[email protected]>Cc Kevin Wolf<[email protected]>Signed-off-by Stefan Weil<[email protected]>
Applied. Thanks.
Regards,
Anthony Liguori
Quoted 17 lines
--- hw/sd.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)hw/sd.c +1
-0@@ -31,6 +31,7 @@#include "hw.h" #include "block.h" +#include "block_int.h" #include "sd.h" //#define DEBUG_SD 1