summaryrefslogtreecommitdiff
path: root/source/fitz/memento.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2017-04-24 11:10:41 +0200
committerTor Andersson <tor.andersson@artifex.com>2017-04-27 12:02:58 +0200
commit147b081bde160f879b941ad1f2a46c643f5da414 (patch)
treea3b6607dbe48646367a6d1be65f8fbb26a0bf1e6 /source/fitz/memento.c
parentf70460b2c402ac0769018a065a7b057332373be2 (diff)
downloadmupdf-147b081bde160f879b941ad1f2a46c643f5da414.tar.xz
memento: Don't include unnecessary headers.
Diffstat (limited to 'source/fitz/memento.c')
-rw-r--r--source/fitz/memento.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/fitz/memento.c b/source/fitz/memento.c
index c96f1f1d..5676cafd 100644
--- a/source/fitz/memento.c
+++ b/source/fitz/memento.c
@@ -49,6 +49,13 @@ int atexit(void (*)(void));
#include <limits.h>
#endif
+#include <stdlib.h>
+
+#ifdef __ANDROID__
+#define MEMENTO_ANDROID
+#include <stdio.h>
+#endif
+
#ifdef MEMENTO
#ifndef MEMENTO_CPP_EXTRAS_ONLY