summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Klausner <wiz@gatalith.at>2023-04-19 09:25:08 +0200
committerGitHub <noreply@github.com>2023-04-19 09:25:08 +0200
commit968e4bba7dd015d5a469c77ec65956f211d3a5bd (patch)
treec8e1ff7d8cb4d33a09d8958073fdc344309f2309
parent59504a56500a8332f0eb8563178e20f843ff8820 (diff)
downloadpsutil-968e4bba7dd015d5a469c77ec65956f211d3a5bd.tar.gz
Fix build on NetBSD due to missing .h include. (#2241)
-rw-r--r--psutil/arch/netbsd/cpu.c1
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>