aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/time/time_darwin.odin2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/time/time_darwin.odin b/core/time/time_darwin.odin
index f731776b1..91acd8ae7 100644
--- a/core/time/time_darwin.odin
+++ b/core/time/time_darwin.odin
@@ -1,5 +1,7 @@
package time
+foreign import libc "system:c"
+
TimeSpec :: struct {
tv_sec : i64, /* seconds */
tv_nsec : i64, /* nanoseconds */