From eb733da7cea6de66542c905c9e1e9312f7f9bb70 Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Mon, 29 Jun 2020 17:21:54 +0100 Subject: [PATCH] Excluse gps.h if not using gpsd. --- YSFGateway/APRSWriter.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/YSFGateway/APRSWriter.h b/YSFGateway/APRSWriter.h index 8ad4dff..f014b20 100644 --- a/YSFGateway/APRSWriter.h +++ b/YSFGateway/APRSWriter.h @@ -33,7 +33,9 @@ #include #include #include +#if defined(USE_GPSD) #include +#endif #else #include #endif