projects
/
proxmark3-svn
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
3c61ee4
)
FIX: this should fix the compilation error for MAC users.
author
iceman1001
<iceman@iuse.se>
Mon, 20 Jun 2016 11:32:22 +0000
(13:32 +0200)
committer
iceman1001
<iceman@iuse.se>
Mon, 20 Jun 2016 11:32:22 +0000
(13:32 +0200)
client/cmdhfmfhard.c
patch
|
blob
|
blame
|
history
diff --git
a/client/cmdhfmfhard.c
b/client/cmdhfmfhard.c
index 800c90f113016126d27a87493c79ea9b4ae29bc0..6da4a1d123ab14ef0d2074d283658869e50841c5 100644
(file)
--- a/
client/cmdhfmfhard.c
+++ b/
client/cmdhfmfhard.c
@@
-30,7
+30,10
@@
#ifdef __WIN32
#include <windows.h>
#endif
#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
#include <assert.h>
#define CONFIDENCE_THRESHOLD 0.95 // Collect nonces until we are certain enough that the following brute force is successfull
Impressum
,
Datenschutz