From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=48130 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OyUbR-00057y-9y for qemu-devel@nongnu.org; Wed, 22 Sep 2010 15:03:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OyUbP-0005hG-0s for qemu-devel@nongnu.org; Wed, 22 Sep 2010 15:03:37 -0400 Received: from mail-qy0-f180.google.com ([209.85.216.180]:43313) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OyUbO-0005h4-QQ for qemu-devel@nongnu.org; Wed, 22 Sep 2010 15:03:34 -0400 Received: by qyk5 with SMTP id 5so1186915qyk.4 for ; Wed, 22 Sep 2010 12:03:33 -0700 (PDT) Message-ID: <4C9A52E7.2070004@codemonkey.ws> Date: Wed, 22 Sep 2010 14:03:03 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] Fix compilation error (missing include statement) References: <1285181795-10950-1-git-send-email-weil@mail.berlios.de> In-Reply-To: <1285181795-10950-1-git-send-email-weil@mail.berlios.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil Cc: Kevin Wolf , QEMU Developers , Christoph Hellwig 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 > Cc: Kevin Wolf > Signed-off-by: Stefan Weil > 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 >