kopia lustrzana https://github.com/Hamlib/Hamlib
fix to make it build on *BSD, and maybe others
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1157 7ae35d74-ebe9-4afe-98af-79ac388436b8Hamlib-1.1.4
rodzic
42e295cdd2
commit
f78428fa09
|
@ -4,7 +4,7 @@
|
||||||
* Parts of the PTT handling are derived from soundmodem, an excellent
|
* Parts of the PTT handling are derived from soundmodem, an excellent
|
||||||
* ham packet softmodem written by Thomas Sailer, HB9JNX.
|
* ham packet softmodem written by Thomas Sailer, HB9JNX.
|
||||||
*
|
*
|
||||||
* $Id: serial.c,v 1.25 2002-03-07 22:49:00 fillods Exp $
|
* $Id: serial.c,v 1.26 2002-09-05 18:20:30 fillods Exp $
|
||||||
*
|
*
|
||||||
* This library is free software; you can redistribute it and/or modify
|
* This library is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU Library General Public License as
|
* it under the terms of the GNU Library General Public License as
|
||||||
|
@ -39,12 +39,13 @@
|
||||||
|
|
||||||
#ifdef HAVE_TERMIOS_H
|
#ifdef HAVE_TERMIOS_H
|
||||||
#include <termios.h> /* POSIX terminal control definitions */
|
#include <termios.h> /* POSIX terminal control definitions */
|
||||||
#endif
|
#else
|
||||||
#ifdef HAVE_TERMIO_H
|
#ifdef HAVE_TERMIO_H
|
||||||
#include <termio.h>
|
#include <termio.h>
|
||||||
#else /* sgtty */
|
#else /* sgtty */
|
||||||
#include <sgtty.h>
|
#include <sgtty.h>
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
/* for CTS/RTS and DTR/DSR control under Win32 --SF */
|
/* for CTS/RTS and DTR/DSR control under Win32 --SF */
|
||||||
#ifdef HAVE_WINDOWS_H
|
#ifdef HAVE_WINDOWS_H
|
||||||
|
|
Ładowanie…
Reference in New Issue