$NetBSD: patch-Source_bmalloc_bmalloc_AvailableMemory.cpp,v 1.1 2022/05/29 17:47:15 leot Exp $ sysinfo() is used only on FreeBSD and Linux. Shared upstream via . --- Source/bmalloc/bmalloc/AvailableMemory.cpp.orig 2022-02-23 08:59:06.000000000 +0000 +++ Source/bmalloc/bmalloc/AvailableMemory.cpp @@ -44,15 +44,16 @@ #import #import #elif BOS(UNIX) -#include #if BOS(LINUX) #include #include +#include #elif BOS(FREEBSD) #include "VMAllocate.h" #include #include #include +#include #endif #include #endif