diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-03-28 22:37:01 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-03-28 22:37:01 -0400 |
commit | 48ea132d3330094a02ec3e4d72c8dc485f16b8df (patch) | |
tree | fb1a979dd90dfa9c2a52c71e24702e0c8bef603e /rtcm2_json.c | |
parent | 300dfc0a1c616fa9af4035c91c7260202f370dbf (diff) | |
download | gpsd-48ea132d3330094a02ec3e4d72c8dc485f16b8df.tar.gz |
Add a switch to configure out control-socket switch.
Diffstat (limited to 'rtcm2_json.c')
-rw-r--r-- | rtcm2_json.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rtcm2_json.c b/rtcm2_json.c index 549a59c4..59cefce4 100644 --- a/rtcm2_json.c +++ b/rtcm2_json.c @@ -19,6 +19,8 @@ PERMISSIONS #include <stddef.h> #include "gpsd.h" + +#ifdef SOCKET_EXPORT_ENABLE #include "gps_json.h" /* common fields in every RTCM2 message */ @@ -266,5 +268,6 @@ int json_rtcm2_read(const char *buf, } return status; } +#endif /* SOCKET_EXPORT_ENABLE */ /* rtcm2_json.c ends here */ |