FIX: cherrypick some fixes from https://github.com/Proxmark/proxmark3/pull/550 (pwpiwi)

This commit is contained in:
iceman1001 2018-01-23 17:41:47 +01:00
commit aad1e65b97
3 changed files with 11 additions and 45 deletions

View file

@ -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>