diff --git a/Core/GameEngine/Include/GameClient/Smudge.h b/Core/GameEngine/Include/GameClient/Smudge.h index ab6245736b1..deb7dbe2715 100644 --- a/Core/GameEngine/Include/GameClient/Smudge.h +++ b/Core/GameEngine/Include/GameClient/Smudge.h @@ -24,6 +24,9 @@ #include "WWMath/vector2.h" #include "WWMath/vector3.h" +// TheSuperHackers @bugfix Include hash_map_adapter.h so that std::hash is visible as a class template before this header specializes std::hash and uses std::hash_map below. Without this, translation units that include Smudge.h without having pulled in beforehand (e.g. W3DSmudge.cpp) fail to compile under STLport. Fixes #2674. +#include + #define SET_SMUDGE_PARAMETERS(smudge,pos,offset,size,opacity) (smudge->m_pos=pos;smudge->m_offset=offset;smudge->m_size=size;smudge->m_opacity=opacity;) struct Smudge : public DLNodeClass