From 6728ab4a04babae80dd818e10fbaadb665d07a80 Mon Sep 17 00:00:00 2001
From: Sergey Fedorov <vital.had@gmail.com>
Date: Wed, 4 Jan 2023 00:06:22 +0700
Subject: [PATCH 04/10] Use stdlib.h instead of malloc.h

---
 src/util/malloc.c           | 2 +-
 src/util_cpp/malloc_dcu.cpp | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/util/malloc.c b/src/util/malloc.c
index 824611f..75a9aa9 100644
--- a/src/util/malloc.c
+++ b/src/util/malloc.c
@@ -5,7 +5,7 @@
 
 #include "alphasparse/util/malloc.h"
 
-#include <malloc.h>
+#include <stdlib.h>
 #include <stdio.h>
 #include <time.h>
 
diff --git a/src/util_cpp/malloc_dcu.cpp b/src/util_cpp/malloc_dcu.cpp
index 28f248a..030062b 100644
--- a/src/util_cpp/malloc_dcu.cpp
+++ b/src/util_cpp/malloc_dcu.cpp
@@ -10,7 +10,7 @@ extern "C" {
 }
 #endif
 
-#include <malloc.h>
+#include <stdlib.h>
 #include <stdio.h>
 #include <time.h>
 #ifdef __DCU__
-- 
2.39.0

