From 850b267cd970be4ca45706a472cbea48de6ad738 Mon Sep 17 00:00:00 2001 From: Gregory Minshall Date: Tue, 5 Jan 1988 23:01:31 -0800 Subject: [PATCH] Changes for pyramid from sbanner1@cheops (S. John Banner). SCCS-vsn: usr.bin/tn3270/telnet.c 6.6 SCCS-vsn: usr.bin/tn3270/sys_curses/system.c 3.2 SCCS-vsn: usr.bin/tn3270/ctlr/api.h 3.2 --- usr/src/usr.bin/tn3270/ctlr/api.h | 4 ++-- usr/src/usr.bin/tn3270/sys_curses/system.c | 8 ++++++-- usr/src/usr.bin/tn3270/telnet.c | 7 ++++++- 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/usr/src/usr.bin/tn3270/ctlr/api.h b/usr/src/usr.bin/tn3270/ctlr/api.h index 5b29fb31b7..937cb3ac34 100644 --- a/usr/src/usr.bin/tn3270/ctlr/api.h +++ b/usr/src/usr.bin/tn3270/ctlr/api.h @@ -1,7 +1,7 @@ /* * This file contains header information used by the PC API routines. * - * @(#)api.h 3.1 (Berkeley) %G% + * @(#)api.h 3.2 (Berkeley) %G% */ #if !defined(MSDOS) @@ -308,7 +308,7 @@ struct highlow { dl, dh; #endif /* defined(vax) */ -#if defined(sun) || defined(tahoe) || defined(ibm032) +#if defined(sun) || defined(tahoe) || defined(ibm032) || defined(pyr) ah, al, bh, diff --git a/usr/src/usr.bin/tn3270/sys_curses/system.c b/usr/src/usr.bin/tn3270/sys_curses/system.c index f25ce7f9fd..a64e92f414 100644 --- a/usr/src/usr.bin/tn3270/sys_curses/system.c +++ b/usr/src/usr.bin/tn3270/sys_curses/system.c @@ -20,12 +20,16 @@ */ #ifndef lint -static char sccsid[] = "@(#)system.c 3.1 (Berkeley) %G%"; +static char sccsid[] = "@(#)system.c 3.2 (Berkeley) %G%"; #endif /* not lint */ #include -#if !defined(sun) +#if defined(pyr) +#define fd_set fdset_t +#endif /* defined(pyr) */ + +#if !defined(sun) && !defined(pyr) #include #else /* !defined(sun) */ #define IREAD 00400 diff --git a/usr/src/usr.bin/tn3270/telnet.c b/usr/src/usr.bin/tn3270/telnet.c index fa7d78a06f..b116356972 100644 --- a/usr/src/usr.bin/tn3270/telnet.c +++ b/usr/src/usr.bin/tn3270/telnet.c @@ -26,7 +26,7 @@ static char copyright[] = #endif /* not lint */ #ifndef lint -static char sccsid[] = "@(#)telnet.c 6.5 (Berkeley) %G%"; +static char sccsid[] = "@(#)telnet.c 6.6 (Berkeley) %G%"; #endif /* not lint */ /* @@ -79,6 +79,11 @@ void setcommandmode(), command(); /* forward declarations */ #endif /* !defined(TN3270) */ #include + +#if defined(pyr) +#define fd_set fdset_t +#endif /* defined(pyr) */ + #include #include -- 2.20.1