#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
+#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))
#endif