X-Git-Url: https://git.street.me.uk/andy/viking.git/blobdiff_plain/80214df235164884f49a9fc12d7a34138a21a44c..5ff75d1ed34298a223c651d46fe2aa000db3e459:/src/terraserver.c diff --git a/src/terraserver.c b/src/terraserver.c index 4499dbfd..8127da2e 100644 --- a/src/terraserver.c +++ b/src/terraserver.c @@ -18,9 +18,15 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include +#ifdef HAVE_MATH_H #include +#endif + #include "viking.h" #include "coords.h" #include "vikcoord.h" @@ -41,7 +47,7 @@ static int terraserver_urban_download ( MapCoord *src, const gchar *dest_fn ); static void terraserver_mapcoord_to_center_coord ( MapCoord *src, VikCoord *dest ); -static DownloadOptions terraserver_options = { 0 }; +static DownloadOptions terraserver_options = { NULL, 0, a_check_map_file }; void terraserver_init () { VikMapsLayer_MapType map_type_1 = { 2, 200, 200, VIK_VIEWPORT_DRAWMODE_UTM, terraserver_topo_coord_to_mapcoord, terraserver_mapcoord_to_center_coord, terraserver_topo_download };