From: Richard M. Stallman Date: Wed, 4 Sep 1996 15:12:18 +0000 (+0000) Subject: Include config.h. X-Git-Tag: emacs-20.1~3826 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d676eef30d853ce8dd9d4ac52e79e7c6bba8e79a;p=emacs.git Include config.h. [HAVE_TERMIOS_H]: Include termios.h. (ospeed) [HAVE_TERMIOS_H]: Use ospeed_t. --- diff --git a/src/terminfo.c b/src/terminfo.c index 8ce87960f03..ab6ab9e4ccb 100644 --- a/src/terminfo.c +++ b/src/terminfo.c @@ -18,12 +18,20 @@ along with GNU Emacs; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#include + /* Define these variables that serve as global parameters to termcap, so that we do not need to conditionalize the places in Emacs that set them. */ char *UP, *BC, PC; + +#ifdef HAVE_TERMIOS_H +#include +speed_t ospeed; +#else short ospeed; +#endif static buffer[512];