Don't include <sys/device.c> unless this is a _KERNEL
This commit is contained in:
parent
3d1a5167c6
commit
92ae0af8bc
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: findcpu.c,v 1.16 2005/12/24 22:45:40 perry Exp $ */
|
||||
/* $NetBSD: findcpu.c,v 1.17 2006/09/06 00:31:50 matt Exp $ */
|
||||
/*
|
||||
* Copyright (c) 1994, 1998 Ludd, University of Lule}, Sweden.
|
||||
* All rights reserved.
|
||||
@ -30,10 +30,12 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: findcpu.c,v 1.16 2005/12/24 22:45:40 perry Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: findcpu.c,v 1.17 2006/09/06 00:31:50 matt Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#ifdef _KERNEL
|
||||
#include <sys/device.h>
|
||||
#endif
|
||||
|
||||
#include <machine/sid.h>
|
||||
#include <machine/nexus.h>
|
||||
|
Loading…
Reference in New Issue
Block a user