diff --git a/sys/dev/sun/bwtwo.c b/sys/dev/sun/bwtwo.c index 288fdc80004c..be8222c0ea40 100644 --- a/sys/dev/sun/bwtwo.c +++ b/sys/dev/sun/bwtwo.c @@ -1,4 +1,4 @@ -/* $NetBSD: bwtwo.c,v 1.21 2009/01/01 13:53:07 jdc Exp $ */ +/* $NetBSD: bwtwo.c,v 1.22 2009/02/23 22:44:27 jdc Exp $ */ /*- * Copyright (c) 1996, 1997 The NetBSD Foundation, Inc. @@ -79,7 +79,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: bwtwo.c,v 1.21 2009/01/01 13:53:07 jdc Exp $"); +__KERNEL_RCSID(0, "$NetBSD: bwtwo.c,v 1.22 2009/02/23 22:44:27 jdc Exp $"); #include #include @@ -96,21 +96,19 @@ __KERNEL_RCSID(0, "$NetBSD: bwtwo.c,v 1.21 2009/01/01 13:53:07 jdc Exp $"); #include #include -#include "wsdisplay.h" -#if NWSDISPLAY > 0 -#include -#include -#include -#include - -#include "opt_wsemul.h" -#endif - #include #include #include #include +#if NWSDISPLAY > 0 +#include +#include +#include + +#include "opt_wsemul.h" +#endif + extern struct cfdriver bwtwo_cd; dev_type_open(bwtwoopen); diff --git a/sys/dev/sun/bwtwovar.h b/sys/dev/sun/bwtwovar.h index 01a403fe5c07..9efda3fff521 100644 --- a/sys/dev/sun/bwtwovar.h +++ b/sys/dev/sun/bwtwovar.h @@ -1,4 +1,4 @@ -/* $NetBSD: bwtwovar.h,v 1.7 2008/12/05 11:52:42 jdc Exp $ */ +/* $NetBSD: bwtwovar.h,v 1.8 2009/02/23 22:44:27 jdc Exp $ */ /*- * Copyright (c) 1996, 1997 The NetBSD Foundation, Inc. @@ -69,6 +69,9 @@ * @(#)bwtwo.c 8.1 (Berkeley) 6/11/93 */ +#include "wsdisplay.h" +#include + /* per-display variables */ struct bwtwo_softc { struct device sc_dev; /* base device */ diff --git a/sys/dev/sun/cgthree.c b/sys/dev/sun/cgthree.c index dd6d09f13126..47d4375b5d5b 100644 --- a/sys/dev/sun/cgthree.c +++ b/sys/dev/sun/cgthree.c @@ -1,4 +1,4 @@ -/* $NetBSD: cgthree.c,v 1.19 2009/01/01 13:53:07 jdc Exp $ */ +/* $NetBSD: cgthree.c,v 1.20 2009/02/23 22:44:27 jdc Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -38,7 +38,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: cgthree.c,v 1.19 2009/01/01 13:53:07 jdc Exp $"); +__KERNEL_RCSID(0, "$NetBSD: cgthree.c,v 1.20 2009/02/23 22:44:27 jdc Exp $"); #include #include @@ -56,21 +56,19 @@ __KERNEL_RCSID(0, "$NetBSD: cgthree.c,v 1.19 2009/01/01 13:53:07 jdc Exp $"); #include #include -#include "wsdisplay.h" -#if NWSDISPLAY > 0 -#include -#include -#include -#include - -#include "opt_wsemul.h" -#endif - #include #include #include #include +#if NWSDISPLAY > 0 +#include +#include +#include + +#include "opt_wsemul.h" +#endif + static void cgthreeunblank(struct device *); static void cgthreeloadcmap(struct cgthree_softc *, int, int); static void cgthree_set_video(struct cgthree_softc *, int); diff --git a/sys/dev/sun/cgthreevar.h b/sys/dev/sun/cgthreevar.h index d1559cef6496..dda1534aaf79 100644 --- a/sys/dev/sun/cgthreevar.h +++ b/sys/dev/sun/cgthreevar.h @@ -1,4 +1,4 @@ -/* $NetBSD: cgthreevar.h,v 1.6 2008/11/28 07:57:04 jdc Exp $ */ +/* $NetBSD: cgthreevar.h,v 1.7 2009/02/23 22:44:27 jdc Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -29,6 +29,9 @@ * POSSIBILITY OF SUCH DAMAGE. */ +#include "wsdisplay.h" +#include + /* * color display (cgthree) driver. */