diff options
author | rikky <rikky@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2011-03-04 10:35:43 +0000 |
---|---|---|
committer | rikky <rikky@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2011-03-04 10:35:43 +0000 |
commit | e06793a2b7ec4aa86245510eb5e63b4b0e5a4bf7 (patch) | |
tree | b5fc1b2295970a5d3f6d14af9e511fb83c4d0a2d /navit/map | |
parent | 97a8d4b5888055e8f05efbcbb4291f4784d60032 (diff) | |
download | navit-e06793a2b7ec4aa86245510eb5e63b4b0e5a4bf7.tar.gz |
Fix:map/csv:Fixed building on platforms without unistd.h
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4296 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/map')
-rw-r--r-- | navit/map/csv/csv.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/navit/map/csv/csv.c b/navit/map/csv/csv.c index 50a9fcfbf..2e25be4df 100644 --- a/navit/map/csv/csv.c +++ b/navit/map/csv/csv.c @@ -21,7 +21,9 @@ #include <stdlib.h> #include <stdio.h> #include <string.h> +#ifdef HAVE_UNISTD_H #include <unistd.h> +#endif #include <math.h> #include "config.h" #include "debug.h" |