1 /* termdep.h -- System things that terminal.c depends on.
2 $Id: termdep.h,v 1.5 2001/09/12 17:26:03 karl Exp $
4 Copyright (C) 1993, 96, 97, 98, 2001 Free Software Foundation, Inc.
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
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 */