summaryrefslogtreecommitdiff
path: root/backend/ricoh2_buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend/ricoh2_buffer.c')
-rw-r--r--backend/ricoh2_buffer.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/backend/ricoh2_buffer.c b/backend/ricoh2_buffer.c
index e79a7f3..8cf86f3 100644
--- a/backend/ricoh2_buffer.c
+++ b/backend/ricoh2_buffer.c
@@ -44,14 +44,8 @@
#include "../include/sane/config.h"
-#include <memory.h>
#include <assert.h>
-
-#if defined(__APPLE__) && defined(__MACH__)
-#include <malloc/malloc.h>
-#else
-#include <malloc.h>
-#endif
+#include <stdlib.h>
#include "../include/sane/sanei_debug.h"