From e6b73f8cd16d8853d7a564be32719a559da37c7e Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Sat, 18 May 2024 14:11:05 -0500 Subject: [PATCH] BSD, use xlocale for thread safe functionality --- src/core/os.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/core/os.c b/src/core/os.c index 7b1b4b33..c8b0d7ee 100644 --- a/src/core/os.c +++ b/src/core/os.c @@ -38,10 +38,13 @@ #include #include #include -#include + #ifdef JANET_BSD #include +#include +#else +#include #endif #ifdef JANET_LINUX