Fixed compilation of the mapcache builder under linux

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10015 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
toms 2007-03-15 15:04:29 +00:00
parent f48a49e655
commit 4bd5a67388
3 changed files with 4 additions and 1 deletions

View File

@ -8,7 +8,8 @@ convert:
mapcache: mapcache:
$(MAKE) -C ../zlib $(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: clean:
rm -rf ../../tools/adduser ../../tools/convert ../../mapcache rm -rf ../../tools/adduser ../../tools/convert ../../mapcache

View File

@ -3,6 +3,7 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h>
#define RETCODE "\r\n" #define RETCODE "\r\n"

View File

@ -42,6 +42,7 @@
#ifndef __FREEBSD__ #ifndef __FREEBSD__
#include <zlib.h> #include <zlib.h>
#endif #endif
#define strcmpi strcasecmp
#endif #endif
typedef unsigned char BYTE; typedef unsigned char BYTE;