]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/proxmark3.h
CHG: continue code cleanup.
[proxmark3-svn] / client / proxmark3.h
index f5dd2b7fa761e86bb6c9c9b719d71a1a24ebfdca..d8887197efbb4bc226bf237a05ad9a597b907bc5 100644 (file)
@@ -8,10 +8,26 @@
 //-----------------------------------------------------------------------------
 // Main binary
 //-----------------------------------------------------------------------------
-
 #ifndef PROXMARK3_H__
 #define PROXMARK3_H__
 
-#define PROXPROMPT "proxmark3> "
-
+// Handle platform specific includes
+#ifdef _WIN32
+// for MINGW32 environments
+  #ifndef _USE_32BIT_TIME_T
+    #define _USE_32BIT_TIME_T 1
+  #endif  
+  #include <time.h>
+  #include <windows.h>
+#else
+  #include <sys/time.h>
 #endif
+
+#define __STDC_FORMAT_MACROS 1
+#include <inttypes.h>
+#include "usb_cmd.h"
+
+#define PROXPROMPT "pm3 --> "
+
+void SendCommand(UsbCommand *c);
+#endif
\ No newline at end of file
Impressum, Datenschutz