From: iceman1001 Date: Mon, 20 Jun 2016 11:32:22 +0000 (+0200) Subject: FIX: this should fix the compilation error for MAC users. X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/ac36c57789d2f7aa469aff4a1cc92cda68bc6c15 FIX: this should fix the compilation error for MAC users. --- 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