diff --git a/src/RWGltf/RWGltf_GltfJsonParser.hxx b/src/RWGltf/RWGltf_GltfJsonParser.hxx index 234f4bf661..6b078ed12e 100644 --- a/src/RWGltf/RWGltf_GltfJsonParser.hxx +++ b/src/RWGltf/RWGltf_GltfJsonParser.hxx @@ -43,12 +43,14 @@ #ifdef HAVE_RAPIDJSON //#define RAPIDJSON_ASSERT + #include #include #include #include #include #include - + #include + typedef rapidjson::Document::ValueType RWGltf_JsonValue; #endif diff --git a/src/RWGltf/RWGltf_GltfOStreamWriter.hxx b/src/RWGltf/RWGltf_GltfOStreamWriter.hxx index 1746997acd..a10ac96942 100644 --- a/src/RWGltf/RWGltf_GltfOStreamWriter.hxx +++ b/src/RWGltf/RWGltf_GltfOStreamWriter.hxx @@ -14,8 +14,11 @@ #ifndef _RWGltf_GltfOStreamWriter_HeaderFile #define _RWGltf_GltfOStreamWriter_HeaderFile +// disable warnings, occures in rapidjson +#include #include #include +#include //! rapidjson::Writer wrapper for forward declaration. class RWGltf_GltfOStreamWriter : public rapidjson::Writer