projects
/
sxemacs
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b04c7d2
)
Attempt to provide speed_t
author
Nelson Ferreira
<nelson.ferreira@ieee.org>
Tue, 8 Sep 2015 18:02:47 +0000
(14:02 -0400)
committer
Nelson Ferreira
<nelson.ferreira@ieee.org>
Tue, 8 Sep 2015 18:02:47 +0000
(14:02 -0400)
* ui/TTY/termcap.c: In our termcap-like implementation make sure
we provide speed_t if available.
Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
src/ui/TTY/termcap.c
patch
|
blob
|
history
diff --git
a/src/ui/TTY/termcap.c
b/src/ui/TTY/termcap.c
index
ea8a31e
..
179f5fd
100644
(file)
--- a/
src/ui/TTY/termcap.c
+++ b/
src/ui/TTY/termcap.c
@@
-38,6
+38,14
@@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#endif /* not emacs */
+#ifdef HAVE_TERMIO_H
+#include <termio.h>
+#endif
+
+#ifdef HAVE_TERMIOS_H
+#include <termios.h>
+#endif
+
/* BUFSIZE is the initial size allocated for the buffer
for reading the termcap file.
It is not a limit.