diff --git a/sys/arch/sparc64/sparc64/intr.c b/sys/arch/sparc64/sparc64/intr.c index 86ce9988c8c9..291911eb089d 100644 --- a/sys/arch/sparc64/sparc64/intr.c +++ b/sys/arch/sparc64/sparc64/intr.c @@ -1,4 +1,4 @@ -/* $NetBSD: intr.c,v 1.33 2000/09/28 15:38:49 eeh Exp $ */ +/* $NetBSD: intr.c,v 1.34 2000/09/29 00:27:13 eeh Exp $ */ /* * Copyright (c) 1992, 1993 @@ -45,6 +45,7 @@ */ #include "opt_ddb.h" +#include "pcons.h" #include #include @@ -130,9 +131,11 @@ int softintr(fp) void *fp; { +#if NPCONS >0 extern void pcons_dopoll __P((void)); pcons_dopoll(); +#endif return (1); }