Make use of gps.h optional.

This commit is contained in:
Jonathan Naylor 2020-06-29 17:23:18 +01:00
parent 56d6ca929d
commit 6e0b6d20c1
1 changed files with 2 additions and 0 deletions

View File

@ -33,7 +33,9 @@
#include <netinet/in.h>
#include <arpa/inet.h>
#include <errno.h>
#if defined(USE_GPSD)
#include <gps.h>
#endif
#else
#include <winsock.h>
#endif