mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-02-23 07:04:31 +08:00
compatibility fix: get_clocktime() is not always available
This commit is contained in:
parent
5bc3841ad1
commit
852ecedc16
1 changed files with 3 additions and 0 deletions
|
@ -9,6 +9,8 @@
|
|||
// Code for communicating with the proxmark3 hardware.
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#define _POSIX_C_SOURCE 199309L // need clock_gettime()
|
||||
|
||||
#include "comms.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
@ -17,6 +19,7 @@
|
|||
#include <pthread.h>
|
||||
#include <inttypes.h>
|
||||
#include <time.h>
|
||||
#include <sys/time.h>
|
||||
|
||||
#include "uart.h"
|
||||
#include "ui.h"
|
||||
|
|
Loading…
Reference in a new issue