HCoop
/
bpt
/
emacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[HAVE_TERMIOS_H]: Declare ospeed as speed_t.
[bpt/emacs.git]
/
src
/
sysdep.c
diff --git
a/src/sysdep.c
b/src/sysdep.c
index
5baf95c
..
cf6850c
100644
(file)
--- a/
src/sysdep.c
+++ b/
src/sysdep.c
@@
-220,7
+220,12
@@
static int baud_convert[] =
};
#endif
-extern short ospeed;
+#ifdef HAVE_TERMIOS_H
+# include <termios.h>
+ extern speed_t ospeed;
+#else
+ extern short ospeed;
+#endif
/* The file descriptor for Emacs's input terminal.
Under Unix, this is normally zero except when using X;