summaryrefslogtreecommitdiff
path: root/texinfo/info
diff options
context:
space:
mode:
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>1998-04-02 18:30:53 +0000
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>1998-04-02 18:30:53 +0000
commit13bd733250551cec3cba1d6cfa67a85532d883b3 (patch)
tree53395493c55106af22d6aff3cffe32ce877ca532 /texinfo/info
parente8edd295e7e5c842235716fdf86b93458d571d20 (diff)
downloadgcc-13bd733250551cec3cba1d6cfa67a85532d883b3.tar.gz
Readd patch for SCO5 to fix build problem.
* info/termdep.h: If POSIX, #undef TIOCGETC for benefit of systems that provide TIOCETC but not struct tchars. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18967 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'texinfo/info')
-rw-r--r--texinfo/info/termdep.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/texinfo/info/termdep.h b/texinfo/info/termdep.h
index 58e20761029..63a3b694139 100644
--- a/texinfo/info/termdep.h
+++ b/texinfo/info/termdep.h
@@ -33,6 +33,11 @@
#ifdef HAVE_TERMIOS_H
# include <termios.h>
+/*
+ * POSIX does not mandate that we have these and it may, in fact, be only
+ * partially implemented
+ */
+# undef TIOCGETC
#else
# if defined (HAVE_TERMIO_H)
# include <termio.h>