It is only by accident that these get the definitions they need from

<sys/device.h>, so explicitly #include <sys/device.h>.
This commit is contained in:
dyoung 2009-03-25 22:56:00 +00:00
parent 61cf8013a0
commit 9fd1ce14c3
2 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: i82093var.h,v 1.10 2008/07/03 15:44:19 drochner Exp $ */
/* $NetBSD: i82093var.h,v 1.11 2009/03/25 22:56:00 dyoung Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@ -34,6 +34,7 @@
#ifndef _X86_I82093VAR_H_
#define _X86_I82093VAR_H_
#include <sys/device.h>
#include <machine/apicvar.h>
struct ioapic_pin

View File

@ -1,4 +1,4 @@
/* $NetBSD: isa_machdep.h,v 1.7 2009/02/08 20:59:19 bouyer Exp $ */
/* $NetBSD: isa_machdep.h,v 1.8 2009/03/25 22:56:00 dyoung Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@ -73,6 +73,7 @@
#define _X86_ISA_MACHDEP_H_ /* XXX */
#include <machine/bus.h>
#include <sys/device.h>
#include <dev/isa/isadmavar.h>
/*