From 6dcff372c3a3a8ab4e9162872ed285b8f2af4e46 Mon Sep 17 00:00:00 2001 From: graichen Date: Sat, 12 Apr 1997 19:57:59 +0000 Subject: [PATCH] make it compile (missing include of ultrix_util.h - the other one is a bit unclear) --- sys/compat/ultrix/ultrix_ioctl.c | 7 +++++-- sys/compat/ultrix/ultrix_misc.c | 3 ++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/sys/compat/ultrix/ultrix_ioctl.c b/sys/compat/ultrix/ultrix_ioctl.c index e0863b743de..18a35fec97a 100644 --- a/sys/compat/ultrix/ultrix_ioctl.c +++ b/sys/compat/ultrix/ultrix_ioctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ultrix_ioctl.c,v 1.6 1996/09/08 13:38:29 deraadt Exp $ */ +/* $OpenBSD: ultrix_ioctl.c,v 1.7 1997/04/12 19:57:59 graichen Exp $ */ /* $NetBSD: ultrix_ioctl.c,v 1.3.4.1 1996/06/13 18:22:37 jonathan Exp $ */ /* from : NetBSD: sunos_ioctl.c,v 1.21 1995/10/07 06:27:31 mycroft Exp */ @@ -367,7 +367,10 @@ btios2stios(bt, st) st->c_cc[4] = NATIVE_TO_EMUL_CC(bt->c_cc[VEOF]); st->c_cc[5] = NATIVE_TO_EMUL_CC(bt->c_cc[VEOL]); st->c_cc[6] = NATIVE_TO_EMUL_CC(bt->c_cc[VEOL2]); -#ifdef COMPAT_ULTRIX +/* XXX - the next line was an ifdef instead of an ifndef - but i still + have to find out what to do here +*/ +#ifndef COMPAT_ULTRIX st->c_cc[7] = NATIVE_TO_EMUL_CC(bt->c_cc[VSWTCH]); #else st->c_cc[7] = 0; diff --git a/sys/compat/ultrix/ultrix_misc.c b/sys/compat/ultrix/ultrix_misc.c index e913dd78ed9..f32778caa8b 100644 --- a/sys/compat/ultrix/ultrix_misc.c +++ b/sys/compat/ultrix/ultrix_misc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ultrix_misc.c,v 1.10 1996/08/31 09:24:06 pefo Exp $ */ +/* $OpenBSD: ultrix_misc.c,v 1.11 1997/04/12 19:58:02 graichen Exp $ */ /* $NetBSD: ultrix_misc.c,v 1.23 1996/04/07 17:23:04 jonathan Exp $ */ /* @@ -113,6 +113,7 @@ #include #include +#include #include -- 2.20.1