Compile under HP-UX 10.

First try to use POSIX termios else SysV termio.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1253 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Björn Groenvall
1997-02-21 19:21:17 +00:00
parent 123082e1cb
commit 6e801d57f3
2 changed files with 14 additions and 4 deletions

View File

@@ -64,8 +64,13 @@ RCSID("$Id$");
#ifdef HAVE_ARPA_TELNET_H
#include <arpa/telnet.h>
#endif
#ifdef HAVE_SYS_TERMIO_H
#include <sys/termio.h>
#ifdef HAVE_TERMIOS_H
#include <termios.h>
#else
#ifdef HAVE_TERMIO_H
#include <termio.h>
#endif
#endif
#include <roken.h>

View File

@@ -118,8 +118,13 @@ char wtmpf[] = "/etc/wtmp";
#undef t_werasc
#undef t_lnextc
#endif
#ifdef HAVE_SYS_TERMIO_H
#include <sys/termio.h>
#ifdef HAVE_TERMIOS_H
#include <termios.h>
#else
#ifdef HAVE_TERMIO_H
#include <termio.h>
#endif
#endif
# ifndef TCSANOW