1
0
mirror of git://sigrok.org/libserialport synced 2023-08-10 21:13:24 +03:00

linux_termios.c: fix check for termios speed fields.

This commit is contained in:
Martin Ling 2014-01-03 13:44:14 +01:00
parent 5cea279a85
commit 3ceb8aecff

View File

@ -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