From 726e63885a8b5c13f9482cf34122ccc4f946980b Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Wed, 7 Mar 2001 23:50:36 +0000 Subject: Include for non-locore code. This makes sure code including will get prototypes for setsoftXXX macros - there is code in the tree which depends on this. --- sys/arch/mvme88k/include/param.h | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'sys') diff --git a/sys/arch/mvme88k/include/param.h b/sys/arch/mvme88k/include/param.h index 3d6013ab19f..d03e3190454 100644 --- a/sys/arch/mvme88k/include/param.h +++ b/sys/arch/mvme88k/include/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.13 2001/02/01 03:38:18 smurph Exp $ */ +/* $OpenBSD: param.h,v 1.14 2001/03/07 23:50:35 miod Exp $ */ /* * Copyright (c) 1999 Steve Murphree, Jr. * Copyright (c) 1988 University of Utah. @@ -40,11 +40,18 @@ * from: Utah $Hdr: machparam.h 1.11 89/08/14$ * * @(#)param.h 7.8 (Berkeley) 6/28/91 - * $Id: param.h,v 1.13 2001/02/01 03:38:18 smurph Exp $ + * $Id: param.h,v 1.14 2001/03/07 23:50:35 miod Exp $ */ #ifndef _MACHINE_PARAM_H_ #define _MACHINE_PARAM_H_ +#ifdef _KERNEL +#ifndef _LOCORE +#include +#include +#endif /* _LOCORE */ +#endif + #define _MACHINE mvme88k #define MACHINE "mvme88k" #define _MACHINE_ARCH m88k @@ -166,9 +173,8 @@ #define mvme88k_btop(x) ((unsigned)(x) >> PGSHIFT) #define mvme88k_ptob(x) ((unsigned)(x) << PGSHIFT) -#include - #ifdef _KERNEL +extern int delay __P((int)); #define DELAY(x) delay(x) #endif -- cgit v1.2.3