From e75bcbe385c3d25ef2c5cee16af7ab3f4d3791f6 Mon Sep 17 00:00:00 2001 From: Robin Mills Date: Fri, 27 Nov 2015 18:44:35 +0000 Subject: [PATCH] #1041. Fixed issues with VS2008 incorrectly setting EXV_HAVE_STDINT_H --- include/exiv2/config.h | 5 +++++ xmpsdk/include/MD5.h | 1 + 2 files changed, 6 insertions(+) diff --git a/include/exiv2/config.h b/include/exiv2/config.h index d8796041..bf16a8d8 100644 --- a/include/exiv2/config.h +++ b/include/exiv2/config.h @@ -7,6 +7,11 @@ # else # include "exv_msvc.h" # endif +# if _MSC_VER < _MSC_VER_2010 +# ifdef EXV_HAVE_STDINT_H +# undef EXV_HAVE_STDINT_H +# endif +# endif #else # include "exv_conf.h" #endif diff --git a/xmpsdk/include/MD5.h b/xmpsdk/include/MD5.h index 00a5e94a..21cfc34c 100644 --- a/xmpsdk/include/MD5.h +++ b/xmpsdk/include/MD5.h @@ -24,6 +24,7 @@ */ #include +#include #ifdef EXV_HAVE_STDINT_H # include #endif