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:
parent
5cea279a85
commit
3ceb8aecff
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user