gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gpsd-dev] [PATCH] Improved Windows build of gpspipe


From: Robert Norris
Subject: [gpsd-dev] [PATCH] Improved Windows build of gpspipe
Date: Sun, 24 Dec 2017 12:20:51 +0000

---
 gpspipe.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gpspipe.c b/gpspipe.c
index 72eed30..884fc59 100644
--- a/gpspipe.c
+++ b/gpspipe.c
@@ -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;
--
libgit2 0.26.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]