mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-06 03:40:56 -08: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
1 changed files with 8 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue