summaryrefslogtreecommitdiffstats
path: root/libqpdf
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2011-12-28 22:40:33 +0100
committerJay Berkenbilt <ejb@ql.org>2011-12-28 22:40:33 +0100
commit92f0207de8f31121735ac183f8e0abed013c3aab (patch)
tree00f3542b606b10f4a595a6a6d2de234651e1b57b /libqpdf
parent11314a9551b66921ad7fa4f977ca17c1f5ed3030 (diff)
downloadqpdf-92f0207de8f31121735ac183f8e0abed013c3aab.tar.zst
fix MSVC 2010 issues
Diffstat (limited to 'libqpdf')
-rw-r--r--libqpdf/qpdf/MD5.hh3
-rw-r--r--libqpdf/qpdf/rijndael.h3
2 files changed, 6 insertions, 0 deletions
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);