From fbfed1cf09159554a89be5e63f13cbc4a80f9ae3 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Thu, 17 Oct 2002 16:09:13 +0000 Subject: [PATCH] Fix compile with options SC_NO_SUSPEND_VTYSWITCH. --- sys/isa/syscons_isa.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/isa/syscons_isa.c b/sys/isa/syscons_isa.c index 0a9e22ed7e7b..c34eacb008b3 100644 --- a/sys/isa/syscons_isa.c +++ b/sys/isa/syscons_isa.c @@ -88,7 +88,9 @@ scattach(device_t dev) return sc_attach_unit(device_get_unit(dev), device_get_flags(dev)); } +#ifndef SC_NO_SUSPEND_VTYSWITCH static int sc_cur_scr; +#endif static int scsuspend(device_t dev)