diff --git a/core/vprof_tool.cpp b/core/vprof_tool.cpp index 110025ec6a..6f24999d94 100644 --- a/core/vprof_tool.cpp +++ b/core/vprof_tool.cpp @@ -30,8 +30,12 @@ #include "sourcemod.h" #include "sourcemm_api.h" +#ifndef VPROF_ENABLED #define VPROF_ENABLED +#endif +#ifndef RAD_TELEMETRY_DISABLED #define RAD_TELEMETRY_DISABLED +#endif #include VProfTool sVProfTool; diff --git a/extensions/sdkhooks/extension.h b/extensions/sdkhooks/extension.h index 1168fe9135..e502c609df 100644 --- a/extensions/sdkhooks/extension.h +++ b/extensions/sdkhooks/extension.h @@ -1,6 +1,8 @@ #ifndef _INCLUDE_SOURCEMOD_EXTENSION_PROPER_H_ #define _INCLUDE_SOURCEMOD_EXTENSION_PROPER_H_ +#include "takedamageinfohack.h" + #include "smsdk_ext.h" #include #include @@ -15,8 +17,6 @@ #include #endif -#include "takedamageinfohack.h" - #if SOURCE_ENGINE >= SE_CSS && SOURCE_ENGINE != SE_LEFT4DEAD #define GETMAXHEALTH_IS_VIRTUAL #endif