Loadavg (BSD): add missing headers

This commit is contained in:
Carter Li
2024-05-09 09:51:41 +08:00
parent 0f5e746fe2
commit 34a6eb13c6
+6
View File
@@ -2,6 +2,12 @@
#include <sys/sysctl.h>
#ifdef __FreeBSD__
#include <sys/types.h>
#include <sys/resource.h>
#include <vm/vm_param.h>
#endif
const char* ffDetectLoadavg(double result[3])
{
struct loadavg load;