We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87fbe3d commit adf95fbCopy full SHA for adf95fb
1 file changed
src/time_unix.c
@@ -28,7 +28,12 @@ extern "C"
28
#include <mach/mach.h>
29
#endif // defined(__MACH__)
30
#include <math.h>
31
+
32
+#if defined(__ZEPHYR__)
33
+#include <posix/time.h> // Points to Zephyr toolchain posix time implementation
34
+#else
35
#include <time.h>
36
+#endif // defined(__ZEPHYR__)
37
#include <unistd.h>
38
39
#include "./common.h"
0 commit comments