summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-11-06 02:17:31 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-11-06 02:17:31 +0000
commite727efe547804a25c58c9fed7ea309d3da93d26c (patch)
tree19533c3297de5400bae0f0bfd33873ad077f4ada /sys/kern
parent8599f9e108b853b72544216cf749e7fd896e9fa5 (diff)
mak kernel compiles w/o bios0
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/init_main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
index 02049b7dc4c..15a52237c1c 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: init_main.c,v 1.27 1997/10/28 10:52:17 niklas Exp $ */
+/* $OpenBSD: init_main.c,v 1.28 1997/11/06 02:17:29 mickey Exp $ */
/* $NetBSD: init_main.c,v 1.84.4.1 1996/06/02 09:08:06 mrg Exp $ */
/*
@@ -335,12 +335,15 @@ main(framep)
schedcpu(NULL);
#ifdef i386
+#include "bios.h"
+#if NBIOS
/* XXX This is only a transient solution */
{
extern dkcsumattach __P((void));
dkcsumattach();
}
#endif
+#endif
/* Mount the root file system. */
if ((*mountroot)())