From 188ee6562eaa7d678889f9583e1316484a5a2e8e Mon Sep 17 00:00:00 2001 From: Marc-Antoine Lortie Date: Tue, 17 Dec 2019 17:47:26 -0500 Subject: [PATCH] Moved/Added several includes to file HL1MDLLoader.h. GCC says there are several class types such as DefaultIOSystem, std::unique_ptr that are undeclared. I moved several includes to this header and also added and because there are strings and Assimp types defined further down. --- code/MDL/HalfLife/HL1MDLLoader.cpp | 5 ----- code/MDL/HalfLife/HL1MDLLoader.h | 6 ++++++ 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/code/MDL/HalfLife/HL1MDLLoader.cpp b/code/MDL/HalfLife/HL1MDLLoader.cpp index 75b8a5c20..5f0d7f4ab 100644 --- a/code/MDL/HalfLife/HL1MDLLoader.cpp +++ b/code/MDL/HalfLife/HL1MDLLoader.cpp @@ -49,18 +49,13 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include "UniqueNameGenerator.h" #include -#include -#include #include #include #include -#include -#include #include #include #include -#include #include #ifdef MDL_HALFLIFE_LOG_WARN_HEADER diff --git a/code/MDL/HalfLife/HL1MDLLoader.h b/code/MDL/HalfLife/HL1MDLLoader.h index f0b227b55..8e356235f 100644 --- a/code/MDL/HalfLife/HL1MDLLoader.h +++ b/code/MDL/HalfLife/HL1MDLLoader.h @@ -50,9 +50,15 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include "HL1ImportSettings.h" #include "UniqueNameGenerator.h" +#include +#include + +#include #include #include #include +#include +#include namespace Assimp { namespace MDL {