summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--navit/maptool/maptool.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/navit/maptool/maptool.c b/navit/maptool/maptool.c
index a921b1cfc..dab9c3399 100644
--- a/navit/maptool/maptool.c
+++ b/navit/maptool/maptool.c
@@ -32,6 +32,7 @@
#include "getopt_long.h"
#define atoll _atoi64
#else
+#include <getopt.h>
#include <unistd.h>
#include <sys/time.h>
#endif