summaryrefslogtreecommitdiff
path: root/source/fitz/crypt-sha2.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/fitz/crypt-sha2.c')
-rw-r--r--source/fitz/crypt-sha2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/fitz/crypt-sha2.c b/source/fitz/crypt-sha2.c
index 20f827fe..27b6c277 100644
--- a/source/fitz/crypt-sha2.c
+++ b/source/fitz/crypt-sha2.c
@@ -11,6 +11,8 @@ SHA-384 and SHA-512 were also taken from Crypto++ and adapted for fitz.
#include "mupdf/fitz.h"
+#include <string.h>
+
static inline int isbigendian(void)
{
static const int one = 1;