From ce856af2efd5cda52def7daec991406470786bba Mon Sep 17 00:00:00 2001 From: simonb Date: Wed, 27 Jan 1999 05:52:31 +0000 Subject: [PATCH] Include dec_prom.h with `full' path if being included by kernel. XXX: Should these headers used by the kernel be in pmax/include instead of pmax/stand? --- sys/arch/pmax/stand/lib/callvec.c | 7 ++++++- sys/arch/pmax/stand/libsa/callvec.c | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/sys/arch/pmax/stand/lib/callvec.c b/sys/arch/pmax/stand/lib/callvec.c index 05e2748b8b76..02315860136d 100644 --- a/sys/arch/pmax/stand/lib/callvec.c +++ b/sys/arch/pmax/stand/lib/callvec.c @@ -1,4 +1,4 @@ -/* $NetBSD: callvec.c,v 1.8 1999/01/22 14:05:05 simonb Exp $ */ +/* $NetBSD: callvec.c,v 1.9 1999/01/27 05:52:31 simonb Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -38,7 +38,12 @@ * @(#)callvec.c 8.1 (Berkeley) 6/10/93 */ +#ifdef _STANDALONE #include +#else +/* ``Full'' path name because this is also used by the kernel proper */ +#include +#endif const struct callback callvec = { (void *(*) __P((void *s1, void *s2, int n)))0, diff --git a/sys/arch/pmax/stand/libsa/callvec.c b/sys/arch/pmax/stand/libsa/callvec.c index 05e2748b8b76..02315860136d 100644 --- a/sys/arch/pmax/stand/libsa/callvec.c +++ b/sys/arch/pmax/stand/libsa/callvec.c @@ -1,4 +1,4 @@ -/* $NetBSD: callvec.c,v 1.8 1999/01/22 14:05:05 simonb Exp $ */ +/* $NetBSD: callvec.c,v 1.9 1999/01/27 05:52:31 simonb Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -38,7 +38,12 @@ * @(#)callvec.c 8.1 (Berkeley) 6/10/93 */ +#ifdef _STANDALONE #include +#else +/* ``Full'' path name because this is also used by the kernel proper */ +#include +#endif const struct callback callvec = { (void *(*) __P((void *s1, void *s2, int n)))0,