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-79ac388436b8
This commit is contained in:
Stéphane Fillod, F8CFE 2002-09-05 18:20:30 +00:00
parent 42e295cdd2
commit f78428fa09

View File

@ -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.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
* it under the terms of the GNU Library General Public License as
@ -39,12 +39,13 @@
#ifdef HAVE_TERMIOS_H
#include <termios.h> /* POSIX terminal control definitions */
#endif
#else
#ifdef HAVE_TERMIO_H
#include <termio.h>
#else /* sgtty */
#include <sgtty.h>
#endif
#endif
/* for CTS/RTS and DTR/DSR control under Win32 --SF */
#ifdef HAVE_WINDOWS_H