diff options
-rw-r--r-- | src/tool/Makefile | 3 | ||||
-rw-r--r-- | src/tool/convert.c | 1 | ||||
-rw-r--r-- | src/tool/grfio.c | 1 |
3 files changed, 4 insertions, 1 deletions
diff --git a/src/tool/Makefile b/src/tool/Makefile index c3de27b68..415606525 100644 --- a/src/tool/Makefile +++ b/src/tool/Makefile @@ -8,7 +8,8 @@ convert: mapcache: $(MAKE) -C ../zlib - $(CC) -o ../../$@ mapcache.c ../zlib/unz.o + $(CC) -c -o grfio.o grfio.c + $(CC) -o ../../$@ mapcache.c grfio.o ../zlib/unz.o -lz clean: rm -rf ../../tools/adduser ../../tools/convert ../../mapcache diff --git a/src/tool/convert.c b/src/tool/convert.c index a71c8c4a6..0072b5b75 100644 --- a/src/tool/convert.c +++ b/src/tool/convert.c @@ -3,6 +3,7 @@ #include <stdio.h> #include <stdlib.h> +#include <string.h> #define RETCODE "\r\n" diff --git a/src/tool/grfio.c b/src/tool/grfio.c index 19a9daa49..7df12696c 100644 --- a/src/tool/grfio.c +++ b/src/tool/grfio.c @@ -42,6 +42,7 @@ #ifndef __FREEBSD__ #include <zlib.h> #endif + #define strcmpi strcasecmp #endif typedef unsigned char BYTE; |