From b2012effc9027b75d1df106c7d1c38c4f84f597b Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Thu, 2 Apr 1998 18:30:53 +0000 Subject: [PATCH] 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 --- texinfo/ChangeLog | 5 +++++ texinfo/info/termdep.h | 5 +++++ 2 files changed, 10 insertions(+) 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 + + * 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 +/* + * 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