speed_t requires termios

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1446 7ae35d74-ebe9-4afe-98af-79ac388436b8
Hamlib-1.1.4
Stéphane Fillod, F8CFE 2003-04-19 11:49:43 +00:00
rodzic c0f33ade9e
commit 8fd0a399ff
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -4,7 +4,7 @@
* Parts of the PTT handling are derived from soundmodem, an excellent
* ham packet softmodem written by Thomas Sailer, HB9JNX.
*
* $Id: serial.c,v 1.30 2003-04-16 22:33:18 fillods Exp $
* $Id: serial.c,v 1.31 2003-04-19 11:49:43 fillods Exp $
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
@ -136,9 +136,9 @@ int serial_open(port_t *rp) {
int serial_setup(port_t *rp)
{
speed_t speed; /* serial comm speed */
int fd;
#ifdef HAVE_TERMIOS_H
speed_t speed; /* serial comm speed */
struct termios options;
#elif defined(HAVE_TERMIO_H)
struct termio options;