From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: circl <circl.lastname@gmail.com>
Date: Sun, 20 Mar 2022 17:13:21 +0100
Subject: [PATCH] malloc.h doesn't exist on Minerva, but the code only checks
 for macOS and BSDs

---
 src/Update.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Update.cpp b/src/Update.cpp
index 50ef666..5996846 100644
--- a/src/Update.cpp
+++ b/src/Update.cpp
@@ -5,7 +5,7 @@
 #ifndef WIN
 #include <sys/param.h>
 #endif
-#if !defined(MACOSX) && !defined(BSD)
+#if !defined(MACOSX) && !defined(BSD) && !defined(__minerva__)
 #include <malloc.h>
 #endif
 #include <cstring>
