diff --git a/amxmodx/Makefile b/amxmodx/Makefile index 07edbe5e..3530a4d1 100755 --- a/amxmodx/Makefile +++ b/amxmodx/Makefile @@ -15,7 +15,7 @@ OBJECTS = meta_api.cpp CFile.cpp CVault.cpp vault.cpp float.cpp file.cpp modules CMisc.cpp CTask.cpp string.cpp amxmodx.cpp CEvent.cpp CCmd.cpp CLogEvent.cpp \ srvcmd.cpp strptime.cpp amxcore.cpp amxtime.cpp power.cpp amxxlog.cpp fakemeta.cpp \ amxxfile.cpp CLang.cpp md5.cpp emsg.cpp CForward.cpp CPlugin.cpp CModule.cpp \ - CMenu.cpp util.cpp amx.cpp amxdbg.cpp natives.cpp newmenus.cpp \ + CMenu.cpp util.cpp amx.cpp amxdbg.cpp natives.cpp newmenus.cpp mmgr/mmgr.cpp LINK = -lz @@ -34,7 +34,7 @@ ifeq "$(MMGR)" "true" OBJECTS += MMGR/MMGR.CPP endif -CFLAGS += -DLINUX -DNDEBUG -fPIC -Wno-deprecated -fno-exceptions -DHAVE_STDINT_H +CFLAGS += -DLINUX -DNDEBUG -fPIC -Wno-deprecated -DHAVE_STDINT_H -DMEMORY_TEST ifeq "$(AMD64)" "true" BINARY = $(NAME)_amd64.so diff --git a/amxmodx/natives.cpp b/amxmodx/natives.cpp index 63ee5607..55a5d439 100755 --- a/amxmodx/natives.cpp +++ b/amxmodx/natives.cpp @@ -33,7 +33,10 @@ #include "natives.h" #ifdef __linux__ +#include +#include #include +#include "sclinux.h" #endif //Written by David "BAILOPAN" Anderson