From 3ceb8aecff49c9fc0df66274c7be3545979f8bea Mon Sep 17 00:00:00 2001 From: Martin Ling Date: Fri, 3 Jan 2014 13:44:14 +0100 Subject: [PATCH] linux_termios.c: fix check for termios speed fields. --- linux_termios.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux_termios.c b/linux_termios.c index d45f801..9e25f27 100644 --- a/linux_termios.c +++ b/linux_termios.c @@ -63,7 +63,7 @@ int get_termios_size(void) #endif } -#ifdef USE_TERMIOS_SPEED +#if defined(HAVE_TERMIOS_SPEED) || defined(HAVE_TERMIOS2_SPEED) int get_termios_speed(void *data) { #ifdef HAVE_TERMIOS2