Attempt to provide speed_t
authorNelson Ferreira <nelson.ferreira@ieee.org>
Tue, 8 Sep 2015 18:02:47 +0000 (14:02 -0400)
committerNelson 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

index ea8a31e..179f5fd 100644 (file)
@@ -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.