From 54a4d6d007ae9c9dcbf51f13a7e1b91c0a490b60 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sun, 1 May 2005 18:42:16 +0000 Subject: [PATCH] Moved include order around --HG-- extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4053 --- sourcemm/Makefile | 2 +- sourcemm/concommands.h | 2 ++ sourcemm/sourcemm.cpp | 4 +++- 3 files changed, 6 insertions(+), 2 deletions(-) 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"