only include <sys/termio.h> iff !defined(HAVE_TERMIOS_H)

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3771 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-11-03 21:37:55 +00:00
parent 5240a1170d
commit f3064d8739

View File

@@ -65,13 +65,15 @@
#endif
/* termios.h *must* be included before curses.h */
#ifdef HAVE_TERMIOS_H
#include <termios.h>
#endif
#if defined(SOCKS) && defined(HAVE_CURSES_H)
#include <curses.h>
#endif
#ifdef HAVE_SYS_TERMIO_H
#if defined(HAVE_SYS_TERMIO_H) && !defined(HAVE_TERMIOS_H)
#include <sys/termio.h>
#endif