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.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/main/gpsd/ttydefaults.patch b/main/gpsd/ttydefaults.patch
new file mode 100644
index 0000000000..3fc600eaea
--- /dev/null
+++ b/main/gpsd/ttydefaults.patch
@@ -0,0 +1,10 @@
+--- ./gpsmon.c.orig
++++ ./gpsmon.c
+@@ -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 <fcntl.h>
+ #ifndef S_SPLINT_S
+ #include <unistd.h>