From: Kaj-Michael Lang Date: Thu, 18 Oct 2007 22:58:52 +0000 (+0300) Subject: Build fixes X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb8900dabc64a75ac441c4b7f410d1a4d4f877f9;p=mapper Build fixes --- diff --git a/src/mapper-types.h b/src/mapper-types.h index d80aa68..0128c5a 100644 --- a/src/mapper-types.h +++ b/src/mapper-types.h @@ -3,6 +3,7 @@ #define _GNU_SOURCE #include +#include #ifndef _MAPPER_TYPES_H #define _MAPPER_TYPES_H diff --git a/src/route.c b/src/route.c index f5636f7..ba29e24 100644 --- a/src/route.c +++ b/src/route.c @@ -29,6 +29,7 @@ #include "latlon.h" #include "map.h" #include "map-download.h" +#include "iap.h" void route_find_nearest_point(); void cancel_autoroute(gboolean temporary); @@ -231,11 +232,7 @@ if (!_curl_multi) { } curl_multi_add_handle(_curl_multi, _autoroute_data.curl_easy); -#ifdef WITH_OSSO if (iap_is_connected() && !_curl_sid) -#else -if (!_curl_sid) -#endif _curl_sid = g_timeout_add(100, (GSourceFunc) map_download_timeout, NULL); _autoroute_data.in_progress = TRUE; @@ -265,9 +262,7 @@ OriginToggleInfo oti; GtkEntryCompletion *from_comp; GtkEntryCompletion *to_comp; -#ifdef WITH_OSSO iap_connect(); -#endif dialog = gtk_dialog_new_with_buttons(_("Download Route"), GTK_WINDOW(_window),