diff options
author | 1997-04-12 19:57:59 +0000 | |
---|---|---|
committer | 1997-04-12 19:57:59 +0000 | |
commit | 6dcff372c3a3a8ab4e9162872ed285b8f2af4e46 (patch) | |
tree | 1b7aa2e877b9a1038dee6e75cccbcf977ff45068 | |
parent | use the profile.h from the arc - this way the (diff) | |
download | wireguard-openbsd-6dcff372c3a3a8ab4e9162872ed285b8f2af4e46.tar.xz wireguard-openbsd-6dcff372c3a3a8ab4e9162872ed285b8f2af4e46.zip |
make it compile (missing include of ultrix_util.h - the other
one is a bit unclear)
-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> |