From 489987bee39856f666cd0717108eb3d8a55fdce1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Sat, 21 Oct 2006 00:09:25 +0000 Subject: [PATCH] Dont't include some streamspty headers here. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18728 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/telnet/telnetd/sys_term.c | 23 ----------------------- appl/telnet/telnetd/telnetd.c | 12 +----------- 2 files changed, 1 insertion(+), 34 deletions(-) diff --git a/appl/telnet/telnetd/sys_term.c b/appl/telnet/telnetd/sys_term.c index a63dfc2bc..5f2f3aea0 100644 --- a/appl/telnet/telnetd/sys_term.c +++ b/appl/telnet/telnetd/sys_term.c @@ -90,29 +90,6 @@ char wtmpf[] = "/etc/wtmp"; #include #endif /* CRAY */ -#ifdef STREAMSPTY - -#ifdef HAVE_SAC_H -#include -#endif - -#ifdef HAVE_SYS_STROPTS_H -#include -#endif - -#endif /* STREAMSPTY */ - -#undef NOERROR - -#ifdef HAVE_SYS_STREAM_H -#ifdef HAVE_SYS_UIO_H -#include -#endif -#ifdef __hpux -#undef SE -#endif -#include -#endif #if !(defined(__sgi) || defined(__linux) || defined(_AIX)) && defined(HAVE_SYS_TTY) #include #endif diff --git a/appl/telnet/telnetd/telnetd.c b/appl/telnet/telnetd/telnetd.c index 6ee44a15d..ece20e964 100644 --- a/appl/telnet/telnetd/telnetd.c +++ b/appl/telnet/telnetd/telnetd.c @@ -63,17 +63,7 @@ int registerd_host_only = 0; int require_encryption = 0; #endif -#undef NOERROR - -#ifdef STREAMSPTY -# include -# include -#ifdef HAVE_SYS_UIO_H -#include -#endif /* HAVE_SYS_UIO_H */ -#ifdef HAVE_SYS_STREAM_H -#include -#endif +#ifdef STREAMPTY #ifdef _AIX #include