1 /* termdep.h -- System things that terminal.c depends on.
2 $Id: termdep.h,v 1.5 1998/03/24 19:40:54 law Exp $
4 This file is part of GNU Info, a program for reading online documentation
7 Copyright (C) 1993, 96, 97 Free Software Foundation, Inc.
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2, or (at your option)
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
19 You should have received a copy of the GNU General Public License
20 along with this program; if not, write to the Free Software
21 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
23 Written by Brian Fox (bfox@ai.mit.edu). */
25 #ifndef INFO_TERMDEP_H
26 #define INFO_TERMDEP_H
28 /* NeXT supplies <termios.h> but it is broken. Probably Autoconf should
29 have a separate test, but anyway ... */
37 * POSIX does not mandate that we have these and it may, in fact, be only
38 * partially implemented
42 # if defined (HAVE_TERMIO_H)
44 # if defined (HAVE_SYS_PTEM_H)
45 # if defined (M_UNIX) || !defined (M_XENIX)
46 # include <sys/stream.h>
47 # include <sys/ptem.h>
52 # endif /* HAVE_SYS_PTEM_H */
53 # else /* !HAVE_TERMIO_H */
55 # endif /* !HAVE_TERMIO_H */
56 #endif /* !HAVE_TERMIOS_H */
58 #ifdef HAVE_SYS_TTOLD_H
59 # include <sys/ttold.h>
60 #endif /* HAVE_SYS_TTOLD_H */
62 #endif /* not INFO_TERMDEP_H */