<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">From f4275b15a5c940ff5e3bbd86d11c4322d24003fc Mon Sep 17 00:00:00 2001
From: Sergey Fedorov &lt;vital.had@gmail.com&gt;
Date: Wed, 9 Oct 2024 18:59:31 +0700
Subject: [PATCH 07/10] libqcdm: fix malloc include

---
 libqcdm/src/utils.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libqcdm/src/utils.c b/libqcdm/src/utils.c
index 4c1ce31e..29e091eb 100644
--- a/libqcdm/src/utils.c
+++ b/libqcdm/src/utils.c
@@ -18,7 +18,11 @@
 #include &lt;stdio.h&gt;
 #include &lt;sys/types.h&gt;
 #include &lt;unistd.h&gt;
+#ifdef __APPLE__
+#include &lt;malloc/malloc.h&gt;
+#else
 #include &lt;malloc.h&gt;
+#endif
 #include &lt;fcntl.h&gt;
 #include &lt;string.h&gt;
 
-- 
2.46.1

</pre></body></html>