Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NqD7F-00061v-Qc for qemu-devel@nongnu.org; Fri, 12 Mar 2010 17:13:57 -0500 Received: from [199.232.76.173] (port=50605 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NqD7F-00061n-DN for qemu-devel@nongnu.org; Fri, 12 Mar 2010 17:13:57 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NqD7D-0002lZ-SO for qemu-devel@nongnu.org; Fri, 12 Mar 2010 17:13:57 -0500 Received: from fe02x03-cgp.akado.ru ([77.232.31.165]:59563 helo=akado.ru) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NqD7D-0002l9-Gh for qemu-devel@nongnu.org; Fri, 12 Mar 2010 17:13:55 -0500 Date: Sat, 13 Mar 2010 01:13:34 +0300 (MSK) From: malc Subject: Re: [Qemu-devel] [PATCH] FreeBSD ppc_init_cacheline_sizes(): add missing #includes In-Reply-To: <4B9ABB1F.7010906@fgznet.ch> Message-ID: References: <20100312215015.GA29285@triton8.kn-bremen.de> <4B9ABB1F.7010906@fgznet.ch> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andreas Tobler Cc: Juergen Lock , qemu-devel@nongnu.org On Fri, 12 Mar 2010, Andreas Tobler wrote: > On 12.03.10 22:59, malc wrote: > > On Fri, 12 Mar 2010, Juergen Lock wrote: > > > > > This fixes commit e4ee916d3f9a93df06bd498c92767c1558d59a0b. > > > (The bug was mine actually...) > > > > > > Submitted by: Andreas Tobler > > > > > > Signed-off-by: Juergen Lock > > > > > > --- a/cache-utils.c > > > +++ b/cache-utils.c > > > @@ -58,7 +58,10 @@ static void ppc_init_cacheline_sizes(voi > > > #endif > > > > > > #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) > > > +#include > > > #include > > > +#include > > > > And stdlib is needed for what exactly? > > To avoid this one: > > cache-utils.c: In function 'ppc_init_cacheline_sizes': > cache-utils.c:76: warning: implicit declaration of function 'exit' Ok, right you are. -- mailto:av1474@comtv.ru