diff options
author | Thomas Klausner <wiz@gatalith.at> | 2023-04-19 09:25:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-19 09:25:08 +0200 |
commit | 968e4bba7dd015d5a469c77ec65956f211d3a5bd (patch) | |
tree | c8e1ff7d8cb4d33a09d8958073fdc344309f2309 | |
parent | 59504a56500a8332f0eb8563178e20f843ff8820 (diff) | |
download | psutil-968e4bba7dd015d5a469c77ec65956f211d3a5bd.tar.gz |
Fix build on NetBSD due to missing .h include. (#2241)
-rw-r--r-- | psutil/arch/netbsd/cpu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/psutil/arch/netbsd/cpu.c b/psutil/arch/netbsd/cpu.c index 33eb906f..3601e2e4 100644 --- a/psutil/arch/netbsd/cpu.c +++ b/psutil/arch/netbsd/cpu.c @@ -6,6 +6,7 @@ */ #include <Python.h> +#include <sys/sched.h> #include <sys/sysctl.h> #include <uvm/uvm_extern.h> |