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
This commit is contained in:
Jim Wilson 1998-04-02 18:30:53 +00:00 committed by Jim Wilson
parent 52c18286ff
commit b2012effc9
2 changed files with 10 additions and 0 deletions

View File

@ -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.

View File

@ -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>