summaryrefslogtreecommitdiff
path: root/include/mupdf/memento.h
diff options
context:
space:
mode:
authorJoseph Heenan <joseph@emobix.co.uk>2016-05-25 14:03:45 +0100
committerRobin Watts <robin.watts@artifex.com>2016-05-31 15:02:55 +0100
commit009937106775864f68a18c061959159a0893e35e (patch)
tree540c6950b5a50dcb139afd5ce53d30045de25fa6 /include/mupdf/memento.h
parent5aaf35d602126570447c579dd90ca7afc111e3e5 (diff)
downloadmupdf-009937106775864f68a18c061959159a0893e35e.tar.xz
memento.h: Replace memory.h with stdlib.h
memory.h isn't part of the C standard, and Xcode was getting upset when building mupdf as a module: error: include of non-modular header inside framework module 'MuPDF.mupdf.memento' [-Werror,-Wnon-modular-include-in-framework-module]
Diffstat (limited to 'include/mupdf/memento.h')
-rw-r--r--include/mupdf/memento.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/mupdf/memento.h b/include/mupdf/memento.h
index b6d2c8f7..f0da215e 100644
--- a/include/mupdf/memento.h
+++ b/include/mupdf/memento.h
@@ -161,12 +161,11 @@
#ifndef MEMENTO_H
-#include <memory.h>
+#include <stdlib.h>
#ifdef __ANDROID__
#define MEMENTO_ANDROID
#include <stdio.h>
-#include <stdlib.h>
#endif
#define MEMENTO_H