]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/util.h
ADD: 'lf visa2000' commands. (SIM/CLONE/READ) almost finished.
[proxmark3-svn] / client / util.h
index f81d7d88ce9232cef96ae08c22226b3ba1ae46d7..c92493e8030437600189d5a25b686fcabf34b73a 100644 (file)
 #include <stdlib.h>
 #include <string.h>
 #include <ctype.h>
 #include <stdlib.h>
 #include <string.h>
 #include <ctype.h>
-#include <time.h>
 #include <math.h>              // math.pow
 #include <math.h>              // math.pow
+#include "proxmark3.h" // time_t
 #include "data.h"              // for FILE_PATH_SIZE
 #include "data.h"              // for FILE_PATH_SIZE
-#include "proxmark3.h"
+
+#include <time.h>
+// Handle platform specific includes
+#ifndef _WIN32
+  #include <termios.h>
+  #include <sys/ioctl.h>
+  #include <sys/time.h>
+#else
+  #include <conio.h>
+  #include <windows.h>
+#endif
+
 
 #ifndef BITMASK
 # define BITMASK(X) (1 << (X))
 
 #ifndef BITMASK
 # define BITMASK(X) (1 << (X))
Impressum, Datenschutz