# HG changeset patch # User Asher Baker # Date 1346676182 -3600 # Node ID 90e35e1d67d3ca797a3418e7fc5d61020c0337e1 # Parent 7f7cc0be5639caed43231a4cda5cc0da51f85e84 Fixed include order issue introduced in 276192fd70a1 (bug 5079, bug 5469). diff -r 7f7cc0be5639 -r 90e35e1d67d3 core/ISmmAPI.h --- a/core/ISmmAPI.h Sat Aug 25 11:10:58 2012 -0500 +++ b/core/ISmmAPI.h Mon Sep 03 13:43:02 2012 +0100 @@ -36,6 +36,16 @@ #include #include #include + +#if defined META_NO_HL2SDK +class CGlobalVars; +class IServerPluginCallbacks; +struct edict_t; +class ConCommandBase; +#else +#include +#endif + #include #include @@ -50,15 +60,6 @@ #define MMIFACE_SH_HOOKMANAUTOGEN "IHookManagerAutoGen" /**< SourceHook::IHookManagerAutoGen Pointer */ #define IFACE_MAXNUM 999 /**< Maximum interface version */ -#if defined META_NO_HL2SDK -class CGlobalVars; -class IServerPluginCallbacks; -struct edict_t; -class ConCommandBase; -#else -#include -#endif - typedef void* (*CreateInterfaceFn)(const char *pName, int *pReturnCode); namespace SourceMM