Update state header to include pthread

This commit is contained in:
Calvin Rose 2022-11-11 11:48:50 -06:00
parent 6a557a73f5
commit 07fe9bcdf6
1 changed files with 6 additions and 0 deletions

View File

@ -25,6 +25,12 @@
#include <stdint.h>
#ifdef JANET_EV
#ifndef JANET_WINDOWS
#include <pthread.h>
#endif
#endif
typedef int64_t JanetTimestamp;
typedef struct JanetScratch {