FIX: the time_t calls under mingw needs a #define _USE_32BIT_TIME_T 1 to be correct. It seems to work in "hf mf mifare" but not in "hf mf hardnested"
This commit is contained in:
1 parent
19693bdc06
commit
b403c30091
9 files changed
+88
-25
No files matched your search
+9
-1
@@ -16,11 +16,19 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <stdbool.h>
|
||||
#include <time.h>
|
||||
#include <readline/readline.h>
|
||||
#include <pthread.h>
|
||||
#include <math.h>
|
||||
#include <complex.h>
|
||||
|
||||
// Handle platform specific includes
|
||||
#ifndef _WIN32
|
||||
#include <sys/time.h>
|
||||
#else
|
||||
#include <time.h>
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
#include "loclass/cipherutils.h"
|
||||
#include "util.h"
|
||||
#include "cmdmain.h"
|
||||
|
||||
Reference in new issue
Block a user