diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2011-11-09 09:25:51 +0100 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-11-10 17:11:40 -0500 |
commit | 315f13286e5f3afeae4f5b3a540c0f259e55b3e6 (patch) | |
tree | 9f1c32fb672c536ca939dfa22b9998bea0278ca7 /driver_navcom.c | |
parent | c96ffb7733b56a8c5c20d473d8fd83b62b6abfde (diff) | |
download | gpsd-315f13286e5f3afeae4f5b3a540c0f259e55b3e6.tar.gz |
Navcom needs binary support
Enable binary support when navcom driver is enabled, otherwise the build
errors out with:
./libgpsd.so: undefined reference to `navcom_binary'
If no other drivers needing binary support are enabled.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
Diffstat (limited to 'driver_navcom.c')
-rw-r--r-- | driver_navcom.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/driver_navcom.c b/driver_navcom.c index 770a5e4d..accc8efb 100644 --- a/driver_navcom.c +++ b/driver_navcom.c @@ -41,7 +41,7 @@ #include <math.h> #include "gpsd.h" -#if defined(NAVCOM_ENABLE) && defined(BINARY_ENABLE) +#if defined(NAVCOM_ENABLE) #include "bits.h" /* Have data which is 24 bits long */ @@ -1306,4 +1306,4 @@ const struct gps_type_t navcom_binary = }; /* *INDENT-ON* */ -#endif /* defined(NAVCOM_ENABLE) && defined(BINARY_ENABLE) */ +#endif /* defined(NAVCOM_ENABLE) */ |