From: Tom Yu Date: Thu, 4 Aug 1994 17:21:47 +0000 (+0000) Subject: * sys_term.h: fix linux lossage, i.e. X-Git-Tag: krb5-1.0-beta4.2~75 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=043e3a893a518baa5f5207e35e9a71f10a3274fe;p=krb5.git * sys_term.h: fix linux lossage, i.e. * configure.in: check for STREAMSPTY (hopefully) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4043 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/appl/telnet/telnetd/ChangeLog b/src/appl/telnet/telnetd/ChangeLog index fc2175671..e8877dedd 100644 --- a/src/appl/telnet/telnetd/ChangeLog +++ b/src/appl/telnet/telnetd/ChangeLog @@ -1,5 +1,8 @@ Thu Aug 4 03:37:26 1994 Tom Yu (tlyu@dragons-lair) + * sys_term.h: fix linux lossage, i.e. + * configure.in: check for STREAMSPTY (hopefully) + * Makefile.in: * configure.in: make install changes diff --git a/src/appl/telnet/telnetd/configure.in b/src/appl/telnet/telnetd/configure.in index e1b3cf936..bd0731a5d 100644 --- a/src/appl/telnet/telnetd/configure.in +++ b/src/appl/telnet/telnetd/configure.in @@ -18,6 +18,7 @@ AC_COMPILE_CHECK([cc_t],[#include ], [cc_t foo;],,AC_DEFINE(NO_CC_T)) fi fi +AC_FUNC_CHECK(grantpt,AC_DEFINE(STREAMSPTY)) AC_FUNC_CHECK(gettosbyname,AC_DEFINE(HAS_GETTOS)) AC_HEADER_CHECK(sys/filio.h,AC_DEFINE(FILIO_H)) AC_HEADER_CHECK(sys/stream.h,AC_DEFINE(STREAMS)) diff --git a/src/appl/telnet/telnetd/sys_term.c b/src/appl/telnet/telnetd/sys_term.c index 5181dc268..d356f2354 100644 --- a/src/appl/telnet/telnetd/sys_term.c +++ b/src/appl/telnet/telnetd/sys_term.c @@ -110,7 +110,11 @@ extern struct sysv sysv; #include #include #endif +#ifndef linux #include +#else +#include +#endif #ifdef t_erase #undef t_erase #undef t_kill