Excluse gps.h if not using gpsd.

This commit is contained in:
Jonathan Naylor 2020-06-29 17:21:54 +01:00
parent d995bc066d
commit eb733da7ce

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