summaryrefslogtreecommitdiff
path: root/gpsd.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2006-11-06 17:07:06 +0000
committerEric S. Raymond <esr@thyrsus.com>2006-11-06 17:07:06 +0000
commit53d03832d989f42bcd297abf29b7d0d44ca750e4 (patch)
tree620638114b2e5eddd93eb613eb2cf3a97f69df27 /gpsd.c
parent6fdb590c8af5a999a957d9fed223953d698c688e (diff)
downloadgpsd-53d03832d989f42bcd297abf29b7d0d44ca750e4.tar.gz
Mick Durkin's fix.
Diffstat (limited to 'gpsd.c')
-rw-r--r--gpsd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gpsd.c b/gpsd.c
index 825d91f3..25c3d2a0 100644
--- a/gpsd.c
+++ b/gpsd.c
@@ -77,7 +77,9 @@ static bool in_background = false;
static jmp_buf restartbuf;
/*@ -initallelements -nullassign -nullderef @*/
static struct gps_context_t context = {
+#ifdef ALLOW_RECONFIGURE
.enable_reconfigure = true,
+#endif /* ALLOW_RECONFIGURE */
.valid = 0,
.sentdgps = false,
.dgnss_service = dgnss_none,