From 2b6555befa869913b53300d41aeb50cd84767e1f Mon Sep 17 00:00:00 2001 From: Richard Basch Date: Tue, 27 Dec 1994 19:47:11 +0000 Subject: * krlogin.c Cleaned up some of the includes git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4759 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/bsd/krlogin.c | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) (limited to 'src/appl/bsd/krlogin.c') diff --git a/src/appl/bsd/krlogin.c b/src/appl/bsd/krlogin.c index 6e4dc0b646..508b0d3b58 100644 --- a/src/appl/bsd/krlogin.c +++ b/src/appl/bsd/krlogin.c @@ -77,32 +77,33 @@ char copyright[] = #ifdef _AIX #include #endif -#endif +#else /* POSIX_TERMIOS */ +#include +#endif /* POSIX_TERMIOS */ #ifdef HAVE_SYS_SOCKIO_H /* for SIOCATMARK */ #include #endif -/****** MWE *****/ +#ifdef HAVE_STREAMS +#include +#include +#endif + #ifdef __SCO__ /* for TIOCPKT_* */ #include /* for struct winsize */ -#include #include #endif -/****** MWE *****/ -/****** MWE *****/ -/* formerly __svr4__ but that's not defined by suncc */ -#ifdef HAVE_STREAMS +#ifdef HAVE_SYS_PTYVAR_H #include #include /* solaris actually uses packet mode, so the real macros are needed too */ #include #endif -/****** MWE *****/ /* how do we tell apart irix 5 and irix 4? */ #if defined(__sgi) && defined(__mips) @@ -121,14 +122,11 @@ char copyright[] = #include #endif -#ifdef POSIX_TERMIOS #ifdef CRAY #include #endif -#else /* !POSIX_TERMIOS */ -#include -#endif /* POSIX_TERMIOS */ - + + #ifndef roundup #define roundup(x,y) ((((x)+(y)-1)/(y))*(y)) #endif -- cgit