]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
FIX: this should fix the compilation error for MAC users.
authoriceman1001 <iceman@iuse.se>
Mon, 20 Jun 2016 11:32:22 +0000 (13:32 +0200)
committericeman1001 <iceman@iuse.se>
Mon, 20 Jun 2016 11:32:22 +0000 (13:32 +0200)
client/cmdhfmfhard.c

index 800c90f113016126d27a87493c79ea9b4ae29bc0..6da4a1d123ab14ef0d2074d283658869e50841c5 100644 (file)
 #ifdef __WIN32
        #include <windows.h>
 #endif
-#include <malloc.h>
+// don't include for APPLE/mac which has malloc stuff elsewhere.
+#ifndef __APPLE__
+       #include <malloc.h>
+#endif
 #include <assert.h>
 
 #define CONFIDENCE_THRESHOLD   0.95            // Collect nonces until we are certain enough that the following brute force is successfull
Impressum, Datenschutz