]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
FIX: that time.h issue is different on POSIX systems and WINDOWS system and in C...
authoriceman1001 <iceman@iuse.se>
Wed, 16 Nov 2016 17:52:13 +0000 (18:52 +0100)
committericeman1001 <iceman@iuse.se>
Wed, 16 Nov 2016 17:52:13 +0000 (18:52 +0100)
client/util.h

index de1fa095d03f5301dd37ee5eadea58e315c3cfa2..c92493e8030437600189d5a25b686fcabf34b73a 100644 (file)
@@ -17,6 +17,7 @@
 #include "proxmark3.h" // time_t
 #include "data.h"              // for FILE_PATH_SIZE
 
 #include "proxmark3.h" // time_t
 #include "data.h"              // for FILE_PATH_SIZE
 
+#include <time.h>
 // Handle platform specific includes
 #ifndef _WIN32
   #include <termios.h>
 // Handle platform specific includes
 #ifndef _WIN32
   #include <termios.h>
@@ -24,7 +25,6 @@
   #include <sys/time.h>
 #else
   #include <conio.h>
   #include <sys/time.h>
 #else
   #include <conio.h>
-  #include <time.h>
   #include <windows.h>
 #endif
 
   #include <windows.h>
 #endif
 
Impressum, Datenschutz