From 8745214a3c8bcf5039565b235dbf78d1254b7f8b Mon Sep 17 00:00:00 2001 From: thorpej Date: Sun, 16 May 1999 19:21:31 +0000 Subject: [PATCH] Make this build without wsdisplay. --- sys/dev/wscons/wskbd.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/dev/wscons/wskbd.c b/sys/dev/wscons/wskbd.c index 659fdd8297ff..c982d8b214f0 100644 --- a/sys/dev/wscons/wskbd.c +++ b/sys/dev/wscons/wskbd.c @@ -1,4 +1,4 @@ -/* $NetBSD: wskbd.c,v 1.22 1999/05/15 14:22:46 drochner Exp $ */ +/* $NetBSD: wskbd.c,v 1.23 1999/05/16 19:21:31 thorpej Exp $ */ /* * Copyright (c) 1996, 1997 Christopher G. Demetriou. All rights reserved. @@ -36,7 +36,7 @@ static const char _copyright[] __attribute__ ((unused)) = "Copyright (c) 1996, 1997 Christopher G. Demetriou. All rights reserved."; static const char _rcsid[] __attribute__ ((unused)) = - "$NetBSD: wskbd.c,v 1.22 1999/05/15 14:22:46 drochner Exp $"; + "$NetBSD: wskbd.c,v 1.23 1999/05/16 19:21:31 thorpej Exp $"; /* * Copyright (c) 1992, 1993 @@ -303,8 +303,10 @@ wskbd_attach(parent, self, aux) printf(": console keyboard"); +#if NWSDISPLAY > 0 if ((sc->sc_displaydv = wsdisplay_set_console_kbd(self))) printf(", using %s", sc->sc_displaydv->dv_xname); +#endif } printf("\n");