summaryrefslogtreecommitdiff
path: root/navit/autoload
diff options
context:
space:
mode:
authorakashihi <akashihi@ffa7fe5e-494d-0410-b361-a75ebd5db220>2010-06-09 10:07:39 +0000
committerakashihi <akashihi@ffa7fe5e-494d-0410-b361-a75ebd5db220>2010-06-09 10:07:39 +0000
commitd4ee3b2989f7e6f4005df4c30d351c0d7fc07e34 (patch)
treeb103be17baae2eaf56bff17424ec5eff2346c96d /navit/autoload
parent6c34485e053693032f7f2f8684f1ee7cab87d593 (diff)
downloadnavit-d4ee3b2989f7e6f4005df4c30d351c0d7fc07e34.tar.gz
Fix:plugins:Fixed dependency of version.h
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3349 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/autoload')
-rw-r--r--navit/autoload/osso/osso.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/navit/autoload/osso/osso.c b/navit/autoload/osso/osso.c
index c2e80b3d7..530095ba8 100644
--- a/navit/autoload/osso/osso.c
+++ b/navit/autoload/osso/osso.c
@@ -1,7 +1,6 @@
#include <libosso.h>
#include <stdlib.h>
#include "debug.h"
-#include "version.h"
#include "item.h"
#include "attr.h"
#include "navit.h"
@@ -12,6 +11,8 @@
static osso_context_t *osso_context;
static struct attr callback = { attr_callback };
+extern char *version;
+
struct cb_hw_state_trail {
struct navit* nav;
osso_hw_state_t *state;
@@ -68,7 +69,7 @@ static void
osso_navit(struct navit *nav, int add)
{
dbg(1, "Installing osso context for org.navit_project.navit\n");
- osso_context = osso_initialize("org.navit_project.navit", VERSION, TRUE, NULL);
+ osso_context = osso_initialize("org.navit_project.navit", version, TRUE, NULL);
if (osso_context == NULL) {
dbg(0, "error initiating osso context\n");
}