diff options
author | jasoni <jasoni@cvs.openbsd.org> | 2002-04-19 21:28:59 +0000 |
---|---|---|
committer | jasoni <jasoni@cvs.openbsd.org> | 2002-04-19 21:28:59 +0000 |
commit | c1a84ebb9f45e5775905beeaac6f263206c01cf3 (patch) | |
tree | b6643744e81e4e93be3f0439d0190aac3f0130bb /sys/arch/i386 | |
parent | e1efb8b4f32f7689c296557c00a675d955bf96a4 (diff) |
build when NSWDISPLAY is undefined or 0; from brian@freebsd-services.com
Diffstat (limited to 'sys/arch/i386')
-rw-r--r-- | sys/arch/i386/i386/linux_machdep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/i386/i386/linux_machdep.c b/sys/arch/i386/i386/linux_machdep.c index b0313c0914c..a2064fbb418 100644 --- a/sys/arch/i386/i386/linux_machdep.c +++ b/sys/arch/i386/i386/linux_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: linux_machdep.c,v 1.21 2002/03/14 01:26:32 millert Exp $ */ +/* $OpenBSD: linux_machdep.c,v 1.22 2002/04/19 21:28:58 jasoni Exp $ */ /* $NetBSD: linux_machdep.c,v 1.29 1996/05/03 19:42:11 christos Exp $ */ /* @@ -72,8 +72,8 @@ * To see whether wsdisplay is configured (for virtual console ioctl calls). */ #include "wsdisplay.h" -#if NWSDISPLAY > 0 && defined(WSDISPLAY_COMPAT_USL) #include <sys/ioctl.h> +#if NWSDISPLAY > 0 && defined(WSDISPLAY_COMPAT_USL) #include <dev/wscons/wsconsio.h> #include <dev/wscons/wsdisplay_usl_io.h> #endif @@ -446,8 +446,8 @@ linux_machdepioctl(p, v, retval) } */ *uap = v; struct sys_ioctl_args bia; u_long com; -#if (NWSDISPLAY > 0 && defined(WSDISPLAY_COMPAT_USL)) int error; +#if (NWSDISPLAY > 0 && defined(WSDISPLAY_COMPAT_USL)) struct vt_mode lvt; caddr_t bvtp, sg; #endif |