summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2001-06-13 07:38:48 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2001-06-13 07:38:48 +0000
commitb0c6ae26fdff6d337b88ed8152990a6cbb73f08d (patch)
treeed9a1114bab9aefaeefa112ef5fc6f681518d7aa /sys
parentcfd10c7ea89fe79ab87beea7696fd943fa25fea1 (diff)
Recent changes in sys/netinet/ assume you get setsoftnet() via
<machine/param.h>, which was not the case for these arches.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sun3/include/param.h9
-rw-r--r--sys/arch/vax/include/param.h4
2 files changed, 8 insertions, 5 deletions
diff --git a/sys/arch/sun3/include/param.h b/sys/arch/sun3/include/param.h
index ecc998cc2a4..5bc41e46573 100644
--- a/sys/arch/sun3/include/param.h
+++ b/sys/arch/sun3/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.25 2001/05/30 20:35:39 miod Exp $ */
+/* $OpenBSD: param.h,v 1.26 2001/06/13 07:38:42 miod Exp $ */
/* $NetBSD: param.h,v 1.34 1996/03/04 05:04:40 cgd Exp $ */
/*
@@ -44,7 +44,7 @@
* from: @(#)param.h 8.1 (Berkeley) 6/10/93
*/
-#ifndef MACHINE
+#ifndef _MACHINE_PARAM_H_
/*
* Machine dependent constants for the Sun3 series.
@@ -109,11 +109,12 @@
*/
#include <machine/psl.h>
-
#if defined(_KERNEL) && !defined(_LOCORE)
+#include <machine/cpu.h>
+
extern void _delay __P((unsigned));
#define delay(us) _delay((us)<<8)
#define DELAY(n) delay(n)
#endif /* _KERNEL && !_LOCORE */
-#endif /* MACHINE */
+#endif /* _MACHINE_PARAM_H_ */
diff --git a/sys/arch/vax/include/param.h b/sys/arch/vax/include/param.h
index e58ff558805..725ad0229ce 100644
--- a/sys/arch/vax/include/param.h
+++ b/sys/arch/vax/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.17 2001/05/13 02:37:30 millert Exp $ */
+/* $OpenBSD: param.h,v 1.18 2001/06/13 07:38:47 miod Exp $ */
/* $NetBSD: param.h,v 1.39 1999/10/22 21:14:34 ragge Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -211,6 +211,8 @@
/* Prototype needed for delay() */
#ifndef _LOCORE
+#include <machine/cpu.h>
+
void delay __P((int));
/* inline macros used inside kernel */
#include <machine/macros.h>