File Improved-Windows-build-of-gpspipe.patch of Package mingw64-libgps
From 083a6fad06a65e9661f2f51f3761bf8d86499ed9 Mon Sep 17 00:00:00 2001
From: Rob Norris <rw_norris@hotmail.com>
Date: Sat, 4 Nov 2017 11:55:31 +0000
Subject: [PATCH] Improved Windows build of gpspipe
---
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