diff options
author | Jon Schlueter <jschlueter@navigationsolutions.com> | 2015-02-18 08:40:42 -0500 |
---|---|---|
committer | Jon Schlueter <jschlueter@navigationsolutions.com> | 2015-02-18 08:40:42 -0500 |
commit | 7d4e48453d3241954a0691acfdc5b73a7a4466ae (patch) | |
tree | 1c37c75d2a724b6293cbed1f57c4b0c2fdecda34 | |
parent | 2cde0f00a12b96217934b7a5761c7fcc0dfcfb58 (diff) | |
download | gpsd-7d4e48453d3241954a0691acfdc5b73a7a4466ae.tar.gz |
Fix for scons minimal=on broken build in gpsd.c missing ifdef guard
-rw-r--r-- | gpsd.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2413,9 +2413,11 @@ int main(int argc, char *argv[]) */ if (argc == optind && highwater > 0) { int subcount = 0, devcount = 0; +#ifdef SOCKET_EXPORT_ENABLE for (sub = subscribers; sub < subscribers + MAX_CLIENTS; sub++) if (sub->active != 0) ++subcount; +#endif /* SOCKET_EXPORT_ENABLE */ for (device = devices; device < devices + MAX_DEVICES; device++) if (allocated_device(device)) ++devcount; |