1 /* termdep.h -- system things that terminal.c depends on.
2 $Id: termdep.h,v 1.5 2007/07/01 21:20:31 karl Exp $
4 Copyright (C) 1993, 1996, 1997, 1998, 2001, 2002, 2007
5 Free Software Foundation, Inc.
7 This program is free software: you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation, either version 3 of the License, or
10 (at your option) any later version.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program. If not, see <http://www.gnu.org/licenses/>.
20 Written by Brian Fox (bfox@ai.mit.edu). */
22 #ifndef INFO_TERMDEP_H
23 #define INFO_TERMDEP_H
25 /* NeXT supplies <termios.h> but it is broken. Probably Autoconf should
26 have a separate test, but anyway ... */
34 # if defined (HAVE_TERMIO_H)
36 # if defined (HAVE_SYS_PTEM_H)
37 # if defined (M_UNIX) || !defined (M_XENIX)
38 # include <sys/stream.h>
39 # include <sys/ptem.h>
44 # endif /* HAVE_SYS_PTEM_H */
45 # else /* !HAVE_TERMIO_H */
47 # endif /* !HAVE_TERMIO_H */
48 #endif /* !HAVE_TERMIOS_H */
50 #ifdef GWINSZ_IN_SYS_IOCTL
51 # include <sys/ioctl.h>
54 #ifdef HAVE_SYS_TTOLD_H
55 # include <sys/ttold.h>
56 #endif /* HAVE_SYS_TTOLD_H */
58 #endif /* not INFO_TERMDEP_H */