git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10015 54d463be-8e91-2dee-dedb-b68131a5f0ec
@@ -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
@@ -3,6 +3,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#define RETCODE "\r\n"
@@ -42,6 +42,7 @@
#ifndef __FREEBSD__
#include <zlib.h>
#endif
+ #define strcmpi strcasecmp
typedef unsigned char BYTE;