From 009937106775864f68a18c061959159a0893e35e Mon Sep 17 00:00:00 2001 From: Joseph Heenan Date: Wed, 25 May 2016 14:03:45 +0100 Subject: 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] --- include/mupdf/memento.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include') 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 +#include #ifdef __ANDROID__ #define MEMENTO_ANDROID #include -#include #endif #define MEMENTO_H -- cgit v1.2.3