FIX: cherrypick some fixes from https://github.com/Proxmark/proxmark3/pull/550 (pwpiwi)
This commit is contained in:
1 parent
fe2f99190b
commit
aad1e65b97
3 files changed
+11
-45
No files matched your search
@@ -37,8 +37,12 @@ void msleep(uint32_t n) {
|
||||
|
||||
#ifdef __APPLE__
|
||||
|
||||
#ifndef CLOCK_MONOTONIC
|
||||
#define CLOCK_MONOTONIC (1)
|
||||
#endif
|
||||
#ifndef CLOCK_REALTIME
|
||||
#define CLOCK_REALTIME (2)
|
||||
#endif
|
||||
|
||||
#include <sys/time.h>
|
||||
#include <mach/clock.h>
|
||||
|
||||
Reference in new issue
Block a user