From 7494cb6e4bf800b1cded52dc367a96e29e835042 Mon Sep 17 00:00:00 2001 From: Joe Hermaszewski Date: Thu, 22 Jan 2015 20:19:34 +0000 Subject: [PATCH 1/2] Use correct include file for INT_MAX INT_MAX is defined in limits.h, not stdint.h --- include/assimp/metadata.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/assimp/metadata.h b/include/assimp/metadata.h index 16809a511..4e1f6732d 100644 --- a/include/assimp/metadata.h +++ b/include/assimp/metadata.h @@ -50,7 +50,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #if defined(_MSC_VER) && (_MSC_VER <= 1500) #include "Compiler/pstdint.h" #else -#include +#include #endif From 50dbb867ec56182ade7209f08b538ec662dc52d3 Mon Sep 17 00:00:00 2001 From: Joe Hermaszewski Date: Thu, 22 Jan 2015 21:27:43 +0000 Subject: [PATCH 2/2] Include stdint.h for uint64_t --- include/assimp/metadata.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/assimp/metadata.h b/include/assimp/metadata.h index 4e1f6732d..12670252e 100644 --- a/include/assimp/metadata.h +++ b/include/assimp/metadata.h @@ -51,6 +51,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include "Compiler/pstdint.h" #else #include +#include #endif