aboutsummaryrefslogtreecommitdiffstats
path: root/main/gpsd/ttydefaults.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/gpsd/ttydefaults.patch')
-rw-r--r--main/gpsd/ttydefaults.patch8
1 files changed, 5 insertions, 3 deletions
diff --git a/main/gpsd/ttydefaults.patch b/main/gpsd/ttydefaults.patch
index f72ca3d5ff..2d0e171265 100644
--- a/main/gpsd/ttydefaults.patch
+++ b/main/gpsd/ttydefaults.patch
@@ -1,5 +1,7 @@
---- ./gpsmon.c.orig
-+++ ./gpsmon.c
+diff --git a/gpsmon.c b/gpsmon.c
+index c3001c8..965ea98 100644
+--- a/gpsmon.c
++++ b/gpsmon.c
@@ -19,6 +19,7 @@
#include <sys/time.h> /* expected to declare select(2) a la SuS */
#include <sys/types.h>
@@ -7,4 +9,4 @@
+#include <sys/ttydefaults.h>
#include <sys/select.h>
#include <fcntl.h>
- #ifndef S_SPLINT_S
+ #include <unistd.h>