fix clang compiler warnings

identified in http://www.proxmark.org/forum/viewtopic.php?id=5388
This commit is contained in:
pwpiwi 2018-01-23 08:27:58 +01:00
parent 30bb6d6591
commit ec0872181b
5 changed files with 14 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>