diff --git a/src/native/unix/native/jsvc.h b/src/native/unix/native/jsvc.h index c4af927a..98830930 100644 --- a/src/native/unix/native/jsvc.h +++ b/src/native/unix/native/jsvc.h @@ -24,8 +24,8 @@ #include #include -/* Definitions for booleans */ -#ifdef OS_DARWIN +/* Use standard booleans where available, including C23 keywords. */ +#if defined(OS_DARWIN) || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) #include #else typedef enum {