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 /ais_json.c | |
parent | 300dfc0a1c616fa9af4035c91c7260202f370dbf (diff) | |
download | gpsd-48ea132d3330094a02ec3e4d72c8dc485f16b8df.tar.gz |
Add a switch to configure out control-socket switch.
Diffstat (limited to 'ais_json.c')
-rw-r--r-- | ais_json.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -15,6 +15,7 @@ representations to libgps structures. #include <stdlib.h> #include "gpsd.h" +#ifdef SOCKET_EXPORT_ENABLE #include "gps_json.h" /*@ -mustdefine @*/ @@ -148,5 +149,6 @@ int json_ais_read(const char *buf, /*@+compdef +nullstate@*/ return status; } +#endif /* SOCKET_EXPORT_ENABLE */ /* ais_json.c ends here */ |