diff options
author | Thomas Graichen <graichen@cvs.openbsd.org> | 1997-04-12 19:58:03 +0000 |
---|---|---|
committer | Thomas Graichen <graichen@cvs.openbsd.org> | 1997-04-12 19:58:03 +0000 |
commit | 7a1365e48b4b030c80d0e509b56a53da3054983d (patch) | |
tree | 6b948ff82cc2fc583e7ec39fd13e6121b48c2336 /sys/compat/ultrix | |
parent | 9cc272bd0bcd1c6b4e2de63395bc7e2c81c06ca1 (diff) |
make it compile (missing include of ultrix_util.h - the other
one is a bit unclear)
Diffstat (limited to 'sys/compat/ultrix')
-rw-r--r-- | sys/compat/ultrix/ultrix_ioctl.c | 7 | ||||
-rw-r--r-- | 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 <compat/ultrix/ultrix_syscall.h> #include <compat/ultrix/ultrix_syscallargs.h> +#include <compat/ultrix/ultrix_util.h> #include <netinet/in.h> |