--- v8/src/base/platform/memory.h.orig 2024-08-26 12:06:38 UTC +++ v8/src/base/platform/memory.h @@ -19,13 +19,13 @@ #if V8_OS_DARWIN #include -#elif V8_OS_ZOS +#elif (V8_OS_ZOS || V8_OS_BSD) #include #else #include #endif -#if (V8_OS_POSIX && !V8_OS_AIX && !V8_OS_SOLARIS && !V8_OS_ZOS) || V8_OS_WIN +#if (V8_OS_POSIX && !V8_OS_AIX && !V8_OS_SOLARIS && !V8_OS_ZOS && !V8_OS_BSD) || V8_OS_WIN #define V8_HAS_MALLOC_USABLE_SIZE 1 #endif