--- src/dwgpsd.c 2023-02-03 21:06:45.638141888 +0100 +++ src/dwgpsd.c 2023-02-03 21:07:43.755376011 +0100 @@ -60,7 +60,8 @@ // An incompatibility was introduced with version 7 // and again with 9 and again with 10. -#if GPSD_API_MAJOR_VERSION < 5 || GPSD_API_MAJOR_VERSION > 11 +#if GPSD_API_MAJOR_VERSION < 5 \ + || (GPSD_API_MAJOR_VERSION == 5 && GPSD_API_MAJOR_VERSION > 11) #error libgps API version might be incompatible. #endif