]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhfmfhard.c
FIX: this should fix the compilation error for MAC users.
[proxmark3-svn] / 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