diff options
author | toms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-03-15 15:04:29 +0000 |
---|---|---|
committer | toms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-03-15 15:04:29 +0000 |
commit | 209b33d9e30842758a1f248dfdc62091af4b2316 (patch) | |
tree | 4d0f96b516f7d0fe7414b40cd03b07f1c030c61f /src | |
parent | 5add4b6c1d8341991069928fd45605524b669903 (diff) | |
download | hercules-209b33d9e30842758a1f248dfdc62091af4b2316.tar.gz hercules-209b33d9e30842758a1f248dfdc62091af4b2316.tar.bz2 hercules-209b33d9e30842758a1f248dfdc62091af4b2316.tar.xz hercules-209b33d9e30842758a1f248dfdc62091af4b2316.zip |
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
Diffstat (limited to 'src')
-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; |