aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul m. p. P2019-07-05 12:06:16 +0200
committerDamien George2019-07-09 13:05:59 +1000
commit42d30c5bafc4d1d94787257eedf5c845423658f1 (patch)
tree174c80c074d0ab16f58c19d7af719f2c77561083
parenta17b901a9ea8f2dfe2db0822cdcd47b9c719a90a (diff)
unix/unix_mphal: Include time.h for CLOCK_MONOTONIC.
-rw-r--r--ports/unix/unix_mphal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/unix/unix_mphal.c b/ports/unix/unix_mphal.c
index 71edaa57a..9b009dc50 100644
--- a/ports/unix/unix_mphal.c
+++ b/ports/unix/unix_mphal.c
@@ -27,6 +27,7 @@
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include <sys/time.h>
#include "py/mphal.h"