aboutsummaryrefslogtreecommitdiff
path: root/texinfo/info
diff options
context:
space:
mode:
authorJim Wilson <wilson@cygnus.com>1998-04-02 18:30:53 +0000
committerJim Wilson <wilson@cygnus.com>1998-04-02 18:30:53 +0000
commit4f17296ce463b49ea4b45b64deac54e85c372beb (patch)
tree53395493c55106af22d6aff3cffe32ce877ca532 /texinfo/info
parent91dcabd8a5d47e8e96097bbc280fa8c61b0cc813 (diff)
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: https://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>