diff --git a/sourcemm/Makefile b/sourcemm/Makefile index 87a088a..cc35ec9 100644 --- a/sourcemm/Makefile +++ b/sourcemm/Makefile @@ -30,7 +30,7 @@ else CFLAGS = $(OPT_FLAGS) endif -CFLAGS += -fpermissive -D_LINUX -DNDEBUG -Dstricmp=strcasecmp -D_stricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf -D_alloca=alloca -Dstrcmpi=strcasecmp -fPIC +CFLAGS += -fpermissive -D_LINUX -DNDEBUG -Dstricmp=strcasecmp -D_stricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf -D_alloca=alloca -Dstrcmpi=strcasecmp -fPIC -Wno-deprecated OBJ_LINUX := $(OBJECTS:%.cpp=$(BIN_DIR)/%.o) diff --git a/sourcemm/concommands.h b/sourcemm/concommands.h index 62c27bc..e80c021 100644 --- a/sourcemm/concommands.h +++ b/sourcemm/concommands.h @@ -16,6 +16,8 @@ * @file concommands.h */ +#include +#include #include "sourcemm.h" #include diff --git a/sourcemm/sourcemm.cpp b/sourcemm/sourcemm.cpp index c4dd877..2e6e0ce 100644 --- a/sourcemm/sourcemm.cpp +++ b/sourcemm/sourcemm.cpp @@ -10,11 +10,13 @@ * ============================ */ -#include "sourcemm.h" +#include +#include #include "CServerGameDLL.h" #include "CServerGameEnts.h" #include "CServerGameClients.h" #include "CHLTVDirector.h" +#include "sourcemm.h" #include "concommands.h" #include "CSmmAPI.h" #include "util.h"