summaryrefslogtreecommitdiff
path: root/route.h
diff options
context:
space:
mode:
authorkazer_ <kazer_@ffa7fe5e-494d-0410-b361-a75ebd5db220>2007-10-09 16:48:44 +0000
committerkazer_ <kazer_@ffa7fe5e-494d-0410-b361-a75ebd5db220>2007-10-09 16:48:44 +0000
commitcceba11d6878f17731d88d820a05b7448b1fd2fc (patch)
tree2695ec62b2f5bcc490b24a99150f731616c7a1b0 /route.h
parent1fca7b4feb01781209ddc8fdc0190eb756546822 (diff)
downloadnavit-svn-cceba11d6878f17731d88d820a05b7448b1fd2fc.tar.gz
Added include checks
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit/src@448 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'route.h')
-rw-r--r--route.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/route.h b/route.h
index 1ba758c5..6ac7685a 100644
--- a/route.h
+++ b/route.h
@@ -1,3 +1,6 @@
+#ifndef NAVIT_ROUTE_H
+#define NAVIT_ROUTE_H
+
struct route_crossing {
long segid;
int dir;
@@ -11,12 +14,22 @@ struct route_crossings {
#define route_item_first type_street_0
#define route_item_last type_ferry
-
/* prototypes */
enum item_type;
struct coord;
struct displaylist;
struct item;
+
+#ifndef STREETDATA
+#define STREETDATA
+struct street_data {
+ struct item item;
+ int count;
+ int limit;
+ struct coord c[0];
+};
+#endif
+
struct map_selection;
struct mapset;
struct route;
@@ -60,3 +73,6 @@ struct coord *route_info_get(struct route_info_handle *h);
void route_info_close(struct route_info_handle *h);
void route_draw(struct route *this, struct transformation *t, struct displaylist *dsp);
/* end of prototypes */
+
+#endif
+