diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | libqpdf/qpdf/MD5.hh | 3 | ||||
-rw-r--r-- | libqpdf/qpdf/rijndael.h | 3 |
3 files changed, 8 insertions, 0 deletions
@@ -1,5 +1,7 @@ 2011-12-28 Jay Berkenbilt <ejb@ql.org> + * include <stdint.h> if available to support MSVC 2010 + * Since PCRE is not necessarily thread safe, don't declare any PCRE objects to be static. diff --git a/libqpdf/qpdf/MD5.hh b/libqpdf/qpdf/MD5.hh index ebdd118d..ef454def 100644 --- a/libqpdf/qpdf/MD5.hh +++ b/libqpdf/qpdf/MD5.hh @@ -7,6 +7,9 @@ #ifdef HAVE_INTTYPES_H # include <inttypes.h> #endif +#ifdef HAVE_STDINT_H +# include <stdint.h> +#endif class MD5 { diff --git a/libqpdf/qpdf/rijndael.h b/libqpdf/qpdf/rijndael.h index 22037e1e..a9cd71da 100644 --- a/libqpdf/qpdf/rijndael.h +++ b/libqpdf/qpdf/rijndael.h @@ -5,6 +5,9 @@ #ifdef HAVE_INTTYPES_H # include <inttypes.h> #endif +#ifdef HAVE_STDINT_H +# include <stdint.h> +#endif int rijndaelSetupEncrypt(uint32_t *rk, const unsigned char *key, int keybits); |