summaryrefslogtreecommitdiff
path: root/navit/map/csv/csv.c
diff options
context:
space:
mode:
Diffstat (limited to 'navit/map/csv/csv.c')
-rw-r--r--navit/map/csv/csv.c2
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"