fix type right test, include <termios.h> for sys/strtty.h, not sys/ptyvar.h

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15091 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-05-05 19:02:26 +00:00
parent 27bc736824
commit 4cc904767e

View File

@@ -306,14 +306,14 @@ AC_CHECK_HEADERS(net/if.h, , , [AC_INCLUDES_DEFAULT
#endif]) #endif])
AC_CHECK_HEADERS(sys/ptyvar.h, , , [AC_INCLUDES_DEFAULT AC_CHECK_HEADERS(sys/ptyvar.h, , , [AC_INCLUDES_DEFAULT
#if HAVE_TERMIOS_H
#include <termios.h>
#endif
#if HAVE_SYS_TTY_H #if HAVE_SYS_TTY_H
#include <sys/tty.h> #include <sys/tty.h>
#endif]) #endif])
AC_CHECK_HEADERS(sys/strtty.h, , , [AC_INCLUDES_DEFAULT AC_CHECK_HEADERS(sys/strtty.h, , , [AC_INCLUDES_DEFAULT
#if HAVE_TERMIOS_H
#include <termios.h>
#endif
#if HAVE_SYS_STREAM_H #if HAVE_SYS_STREAM_H
#include <sys/stream.h> #include <sys/stream.h>
#endif]) #endif])