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.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/gpsd/ttydefaults.patch b/main/gpsd/ttydefaults.patch
index f72ca3d5ff..3fc600eaea 100644
--- a/main/gpsd/ttydefaults.patch
+++ b/main/gpsd/ttydefaults.patch
@@ -1,10 +1,10 @@
--- ./gpsmon.c.orig
+++ ./gpsmon.c
-@@ -19,6 +19,7 @@
+@@ -18,6 +18,7 @@
#include <sys/time.h> /* expected to declare select(2) a la SuS */
#include <sys/types.h>
#include <sys/stat.h>
+#include <sys/ttydefaults.h>
- #include <sys/select.h>
#include <fcntl.h>
#ifndef S_SPLINT_S
+ #include <unistd.h>