[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Fix compilation error (missing include statemen

From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH] Fix compilation error (missing include statement)
Date: Wed, 22 Sep 2010 14:03:03 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100826 Lightning/1.0b1 Thunderbird/3.0.7

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<address@hidden>
Cc: Kevin Wolf<address@hidden>
Signed-off-by: Stefan Weil<address@hidden>

Applied.  Thanks.


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

[Prev in Thread] Current Thread [Next in Thread]