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?
This commit is contained in:
simonb 1999-01-27 05:52:31 +00:00
parent 006c21d420
commit ce856af2ef
2 changed files with 12 additions and 2 deletions

View File

@ -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 <dec_prom.h>
#else
/* ``Full'' path name because this is also used by the kernel proper */
#include <pmax/stand/libsa/dec_prom.h>
#endif
const struct callback callvec = {
(void *(*) __P((void *s1, void *s2, int n)))0,

View File

@ -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 <dec_prom.h>
#else
/* ``Full'' path name because this is also used by the kernel proper */
#include <pmax/stand/libsa/dec_prom.h>
#endif
const struct callback callvec = {
(void *(*) __P((void *s1, void *s2, int n)))0,