Fix build against gpsd >= 3.20 #1

Merged
osmith merged 2 commits from osmith/gpsdate:osmith/wip into master 2022-12-15 09:23:20 +00:00

2 Commits

Author SHA1 Message Date
Oliver Smith 68bcf620b4 Fix build against gpsd >= 3.20
The previous version was written against gpsd 3.10. This also makes the
date more precise, previously microseconds were set to 0.

GPSD_API_MAJOR_VERSION is defined in gps.h, together with a changelog:
https://gitlab.com/gpsd/gpsd/-/blob/master/include/gps.h

Use Pau's compat_gps_read() from:
https://gerrit.osmocom.org/c/osmocom-bb/+/11609

Related: SYS#6222
2022-12-14 19:25:01 +01:00
Oliver Smith da8c043c7b gitignore: new file 2022-12-14 12:43:37 +01:00