aboutsummaryrefslogtreecommitdiffstats
path: root/main/gpsd/gpsd-use-local-timepps-header.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/gpsd/gpsd-use-local-timepps-header.patch')
-rw-r--r--main/gpsd/gpsd-use-local-timepps-header.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/gpsd/gpsd-use-local-timepps-header.patch b/main/gpsd/gpsd-use-local-timepps-header.patch
index 46bd300257..719891e410 100644
--- a/main/gpsd/gpsd-use-local-timepps-header.patch
+++ b/main/gpsd/gpsd-use-local-timepps-header.patch
@@ -1,11 +1,11 @@
--- a/gpsd.h-tail
+++ b/gpsd.h-tail
-@@ -19,7 +19,7 @@
- // include unistd.h here as it is missing on older pps-tools releases.
+@@ -35,7 +35,7 @@
// 'close' is not defined otherwise.
#include <unistd.h>
+ #include <sys/time.h>
-#include <sys/timepps.h>
+#include "sys/timepps.h"
+ #endif /* S_SPLINT_S */
#endif
- #ifdef _WIN32