summaryrefslogtreecommitdiff
path: root/texinfo
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
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')
-rw-r--r--texinfo/ChangeLog5
-rw-r--r--texinfo/info/termdep.h5
2 files changed, 10 insertions, 0 deletions
diff --git a/texinfo/ChangeLog b/texinfo/ChangeLog
index cbb53a76ef4..532139bd2fe 100644
--- a/texinfo/ChangeLog
+++ b/texinfo/ChangeLog
@@ -1,3 +1,8 @@
+Thu Apr 2 18:29:26 1998 Jim Wilson <wilson@cygnus.com>
+
+ * info/termdep.h: If POSIX, #undef TIOCGETC for benefit of systems
+ that provide TIOCETC but not struct tchars.
+
Thu Mar 26 11:31:33 1998 Jeffrey A Law (law@cygnus.com)
* acinclude.m4: Bring back changes lost during merge.
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>