[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] FreeBSD ppc_init_cacheline_sizes(): add missing
From: |
malc |
Subject: |
Re: [Qemu-devel] [PATCH] FreeBSD ppc_init_cacheline_sizes(): add missing #includes |
Date: |
Sat, 13 Mar 2010 00:59:58 +0300 (MSK) |
User-agent: |
Alpine 2.00 (LNX 1167 2008-08-23) |
On Fri, 12 Mar 2010, Juergen Lock wrote:
> This fixes commit e4ee916d3f9a93df06bd498c92767c1558d59a0b.
> (The bug was mine actually...)
>
> Submitted by: Andreas Tobler <address@hidden>
>
> Signed-off-by: Juergen Lock <address@hidden>
>
> --- 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 <errno.h>
> #include <stdio.h>
> +#include <stdlib.h>
And stdlib is needed for what exactly?
> +#include <string.h>
> #include <sys/types.h>
> #include <sys/sysctl.h>
>
>
>
--
mailto:address@hidden