summaryrefslogtreecommitdiff
path: root/backend/ricoh2_buffer.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2020-02-02 17:14:32 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2020-02-02 17:14:32 +0100
commit5dadc28ea784db1ba1f56c2ea8618d2db67af1c8 (patch)
tree808b2499b54563b3290f34d70d159b1024310873 /backend/ricoh2_buffer.c
parent5bb4cf12855ec0151de15d6c5a2354ff08766957 (diff)
parent3dade5db2a37543f19f0967901d8d80a52a1e459 (diff)
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'backend/ricoh2_buffer.c')
-rw-r--r--backend/ricoh2_buffer.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/backend/ricoh2_buffer.c b/backend/ricoh2_buffer.c
index b8d7d90..e79a7f3 100644
--- a/backend/ricoh2_buffer.c
+++ b/backend/ricoh2_buffer.c
@@ -46,7 +46,12 @@
#include <memory.h>
#include <assert.h>
+
+#if defined(__APPLE__) && defined(__MACH__)
+#include <malloc/malloc.h>
+#else
#include <malloc.h>
+#endif
#include "../include/sane/sanei_debug.h"