From 209b33d9e30842758a1f248dfdc62091af4b2316 Mon Sep 17 00:00:00 2001 From: toms Date: Thu, 15 Mar 2007 15:04:29 +0000 Subject: Fixed compilation of the mapcache builder under linux git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10015 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/tool/Makefile | 3 ++- src/tool/convert.c | 1 + src/tool/grfio.c | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) 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 #include +#include #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 #endif + #define strcmpi strcasecmp #endif typedef unsigned char BYTE; -- cgit v1.2.3-70-g09d2