From 852ecedc16ee8220c8208828c55d14a668e69c30 Mon Sep 17 00:00:00 2001 From: pwpiwi Date: Tue, 7 Apr 2020 09:04:47 +0200 Subject: [PATCH] compatibility fix: get_clocktime() is not always available --- client/comms.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/comms.c b/client/comms.c index b3b85fd2..1391641d 100644 --- a/client/comms.c +++ b/client/comms.c @@ -9,6 +9,8 @@ // Code for communicating with the proxmark3 hardware. //----------------------------------------------------------------------------- +#define _POSIX_C_SOURCE 199309L // need clock_gettime() + #include "comms.h" #include @@ -17,6 +19,7 @@ #include #include #include +#include #include "uart.h" #include "ui.h" -- 2.39.5