diff options
author | Robert Norris <rw_norris@hotmail.com> | 2017-12-24 12:20:51 +0000 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2018-06-17 14:00:28 -0700 |
commit | 79f3beef99a8f97e579b988bd8396d3ceaac99ed (patch) | |
tree | e4ceaa5c1088e65afb853d5adf4bfd609f9cd089 /gpspipe.c | |
parent | 851cc68d8d5194d4f5ff799aafedefbb7de76492 (diff) | |
download | gpsd-79f3beef99a8f97e579b988bd8396d3ceaac99ed.tar.gz |
Improved Windows build of gpspipe
Add missing ifdef for HAVE_TERMIOS_H.
Signed-off-by: Gary E. Miller <gem@rellim.com>
Diffstat (limited to 'gpspipe.c')
-rw-r--r-- | gpspipe.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -67,7 +67,9 @@ static void spinner(unsigned int, unsigned int); #define BAUDRATE B4800 /* Serial port variables */ +#ifdef HAVE_TERMIOS_H static struct termios oldtio, newtio; +#endif /* HAVE_TERMIOS_H */ static int fd_out = 1; /* output initially goes to standard output */ static char serbuf[255]; static int debug; |