]>
git.ipfire.org Git - thirdparty/gcc.git/blob - texinfo/info/termdep.h
1 /* termdep.h -- System things that terminal.c depends on.
2 $Id: termdep.h,v 1.3 1996/10/02 22:23:52 karl Exp $
4 This file is part of GNU Info, a program for reading online documentation
7 Copyright (C) 1993, 96 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 #if !defined (_TERMDEP_H_)
28 #if defined (HAVE_SYS_FCNTL_H)
29 # include <sys/fcntl.h>
32 #endif /* !HAVE_SYS_FCNTL_H */
34 #if defined (HAVE_SYS_FILE_H)
35 # include <sys/file.h>
36 #endif /* HAVE_SYS_FILE_H */
38 #if defined (HAVE_STRINGS_H)
41 # if defined (HAVE_STRING_H)
46 #if defined (HAVE_TERMIOS_H)
49 # if defined (HAVE_TERMIO_H)
51 # if defined (HAVE_SYS_PTEM_H)
52 # if defined (M_UNIX) || !defined (M_XENIX)
53 # include <sys/stream.h>
54 # include <sys/ptem.h>
59 # endif /* HAVE_SYS_PTEM_H */
60 # else /* !HAVE_TERMIO_H */
62 # endif /* !HAVE_TERMIO_H */
63 #endif /* !HAVE_TERMIOS_H */
65 #if defined (HAVE_SYS_TTOLD_H)
66 # include <sys/ttold.h>
67 #endif /* HAVE_SYS_TTOLD_H */
69 #if !defined (HAVE_STRCHR)
73 # define strrchr rindex
74 #endif /* !HAVE_STRCHR */
76 #endif /* _TERMDEP_H_ */