fix osx compile issues

This commit is contained in:
zeromus 2009-10-19 03:09:25 +00:00
parent 25cdffc734
commit 51b0429c24
1 changed files with 2 additions and 3 deletions

View File

@ -1,6 +1,5 @@
#include <stdio.h>
#include <stdlib.h>
#include <malloc.h>
#include <string.h>
#include <ctype.h>
#include <zlib.h>
@ -9,6 +8,7 @@
#include <map>
#include <string>
#include <algorithm>
#include <stdlib.h>
#ifdef __linux
#include <unistd.h>
@ -16,7 +16,6 @@
#include <sys/wait.h>
#endif
extern "C"
{
#include <lua.h>
@ -47,7 +46,7 @@ extern "C"
#define FALSE 0
#endif
#ifdef __unix__
#ifndef _MSC_VER
#define stricmp strcasecmp
#define strnicmp strncasecmp