aboutsummaryrefslogtreecommitdiff
path: root/texinfo
diff options
context:
space:
mode:
authorJim Wilson <wilson@cygnus.com>1998-04-02 18:30:53 +0000
committerJim Wilson <wilson@gcc.gnu.org>1998-04-02 10:30:53 -0800
commitb2012effc9027b75d1df106c7d1c38c4f84f597b (patch)
tree53395493c55106af22d6aff3cffe32ce877ca532 /texinfo
parent52c18286ff5f35266ef45c01983397cad00d01e7 (diff)
downloadgcc-b2012effc9027b75d1df106c7d1c38c4f84f597b.zip
gcc-b2012effc9027b75d1df106c7d1c38c4f84f597b.tar.gz
gcc-b2012effc9027b75d1df106c7d1c38c4f84f597b.tar.bz2
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. From-SVN: r18967
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 cbb53a7..532139b 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 58e2076..63a3b69 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>