summaryrefslogtreecommitdiff
path: root/serial.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2015-03-01 20:42:32 -0500
committerEric S. Raymond <esr@thyrsus.com>2015-03-01 20:42:32 -0500
commit6b23c6bb43742008a77d742293c0869219f1e72c (patch)
tree86ee1fc4936e59025fbad157998c42f4133604b6 /serial.c
parent4fdcfe06cca15197037afcc5517971a5bbb260c7 (diff)
downloadgpsd-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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/serial.c b/serial.c
index 83cea6df..0c76b36e 100644
--- a/serial.c
+++ b/serial.c
@@ -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,