]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
Fix some missing include statements which impact using proxmark3 client as a library.
authorMichael Farrell <micolous+git@gmail.com>
Fri, 23 Dec 2016 07:35:50 +0000 (17:35 +1000)
committerMichael Farrell <micolous+git@gmail.com>
Fri, 23 Dec 2016 07:35:50 +0000 (17:35 +1000)
client/nonce2key/nonce2key.h
client/util.c
client/util.h

index 026b8cfc47cd041617b4d5b303aa95afef9d8bde..807c2f2f1a956079e71dd7c50d41e532382ad52f 100644 (file)
@@ -20,6 +20,7 @@
 #include "common.h"
 #include "mifare.h"    // nonces_t struct
 #include "ui.h"                        // PrintAndLog
+#include "util.h"       // FALSE / TRUE
 #include "proxmark3.h"
 #include "mifarehost.h"
 
index 0d24ac8ee32ae44dfe93cf4245274185ee580e57..f70b5aed8600a9c0d510d529ae7dd28a56fc28e0 100644 (file)
@@ -12,6 +12,8 @@
 #define MAX_BIN_BREAK_LENGTH   (3072+384+1)
 
 #ifndef _WIN32
+#include <sys/ttydefaults.h>
+
 int ukbhit(void) {
   int cnt = 0;
   int error;
index c92493e8030437600189d5a25b686fcabf34b73a..701662c3e27547b053851bb704464d5feaec7f2e 100644 (file)
@@ -14,6 +14,7 @@
 #include <string.h>
 #include <ctype.h>
 #include <math.h>              // math.pow
+#include <time.h>       // time, gmtime
 #include "proxmark3.h" // time_t
 #include "data.h"              // for FILE_PATH_SIZE
 
Impressum, Datenschutz