mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-17 10:06:13 +00:00
Include config.h.
[HAVE_TERMIOS_H]: Include termios.h. (ospeed) [HAVE_TERMIOS_H]: Use ospeed_t.
This commit is contained in:
parent
f2361c606c
commit
d676eef30d
@ -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 <config.h>
|
||||
|
||||
/* 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 <termios.h>
|
||||
speed_t ospeed;
|
||||
#else
|
||||
short ospeed;
|
||||
#endif
|
||||
|
||||
static buffer[512];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user