From ac36c57789d2f7aa469aff4a1cc92cda68bc6c15 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Mon, 20 Jun 2016 13:32:22 +0200 Subject: [PATCH 1/1] FIX: this should fix the compilation error for MAC users. --- client/cmdhfmfhard.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client/cmdhfmfhard.c b/client/cmdhfmfhard.c index 800c90f1..6da4a1d1 100644 --- a/client/cmdhfmfhard.c +++ b/client/cmdhfmfhard.c @@ -30,7 +30,10 @@ #ifdef __WIN32 #include #endif -#include +// don't include for APPLE/mac which has malloc stuff elsewhere. +#ifndef __APPLE__ + #include +#endif #include #define CONFIDENCE_THRESHOLD 0.95 // Collect nonces until we are certain enough that the following brute force is successfull -- 2.39.5