diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2015-03-01 20:42:32 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2015-03-01 20:42:32 -0500 |
commit | 6b23c6bb43742008a77d742293c0869219f1e72c (patch) | |
tree | 86ee1fc4936e59025fbad157998c42f4133604b6 /serial.c | |
parent | 4fdcfe06cca15197037afcc5517971a5bbb260c7 (diff) | |
download | gpsd-6b23c6bb43742008a77d742293c0869219f1e72c.tar.gz |
HAVE_BLUEZ -> ENABLE_BLUEZ. It's a feature flag, not a platform quirk.
All regression tests pass.
Diffstat (limited to 'serial.c')
-rw-r--r-- | serial.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -18,12 +18,12 @@ #include <sys/param.h> /* defines BSD */ #include "gpsd_config.h" -#ifdef HAVE_BLUEZ +#ifdef ENABLE_BLUEZ #include <bluetooth/bluetooth.h> #include <bluetooth/hci.h> #include <bluetooth/hci_lib.h> #include <bluetooth/rfcomm.h> -#endif /* HAVE_BLUEZ */ +#endif /* ENABLE_BLUEZ */ #include "gpsd.h" @@ -429,7 +429,7 @@ int gpsd_serial_open(struct gps_device_t *session) (int)session->sourcetype, session->gpsdata.dev.path); } /*@ +boolops +type @*/ -#ifdef HAVE_BLUEZ +#ifdef ENABLE_BLUEZ if (bachk(session->gpsdata.dev.path) == 0) { struct sockaddr_rc addr = { 0, *BDADDR_ANY, 0}; session->gpsdata.gps_fd = socket(AF_BLUETOOTH, |