From d58acb2a6446038042425c4bdc35ffcbf2f3eefc Mon Sep 17 00:00:00 2001 From: thorpej Date: Mon, 12 Jan 1998 08:04:55 +0000 Subject: [PATCH] Pull in ioconf.h if _KERNEL and ! _LKM. --- sys/sys/device.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sys/sys/device.h b/sys/sys/device.h index 8b6b2a5f5037..38215164a0d7 100644 --- a/sys/sys/device.h +++ b/sys/sys/device.h @@ -1,4 +1,4 @@ -/* $NetBSD: device.h,v 1.22 1997/09/20 14:08:27 drochner Exp $ */ +/* $NetBSD: device.h,v 1.23 1998/01/12 08:04:55 thorpej Exp $ */ /* * Copyright (c) 1992, 1993 @@ -161,6 +161,10 @@ struct pdevinit { #ifdef _KERNEL +#ifndef _LKM +#include "ioconf.h" /* cfdriver externs */ +#endif + extern struct devicelist alldevs; /* list of all devices */ extern struct evcntlist allevents; /* list of all event counters */