FreeBSD ppc_init_cacheline_sizes(): add missing #includes

This fixes commit e4ee916d3f.
(The bug was mine actually...)

Submitted by: Andreas Tobler <andreast@fgznet.ch>

Signed-off-by: Juergen Lock <nox@jelal.kn-bremen.de>
Signed-off-by: malc <av1474@comtv.ru>
This commit is contained in:
Juergen Lock 2010-03-12 22:50:15 +01:00 committed by malc
parent 35f6b5997a
commit 4836a2b09a
1 changed files with 3 additions and 0 deletions

View File

@ -58,7 +58,10 @@ static void ppc_init_cacheline_sizes(void)
#endif
#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/sysctl.h>