diff options
author | Torsten-B <99562466+Torsten-B@users.noreply.github.com> | 2022-06-24 13:18:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-24 13:18:39 +0200 |
commit | 375214708b61cf2c7f671c0855484d81e62a2bdd (patch) | |
tree | 6abc1b12e97c1e93b5faeb7876a8be2cc2011366 /psutil | |
parent | 5ca68709c44885f6902820e8dcb9fcff1cc1e33b (diff) | |
download | psutil-375214708b61cf2c7f671c0855484d81e62a2bdd.tar.gz |
Implicitly include <sys/param.h> so that __FreeBSD_version checks wor… (#2114)
Diffstat (limited to 'psutil')
-rw-r--r-- | psutil/arch/freebsd/mem.c | 1 | ||||
-rw-r--r-- | psutil/arch/freebsd/proc_socks.c | 1 | ||||
-rw-r--r-- | psutil/arch/freebsd/sys_socks.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/psutil/arch/freebsd/mem.c b/psutil/arch/freebsd/mem.c index f5374ef4..3326f63a 100644 --- a/psutil/arch/freebsd/mem.c +++ b/psutil/arch/freebsd/mem.c @@ -6,6 +6,7 @@ #include <Python.h> +#include <sys/param.h> #include <sys/sysctl.h> #include <sys/vmmeter.h> #include <vm/vm_param.h> diff --git a/psutil/arch/freebsd/proc_socks.c b/psutil/arch/freebsd/proc_socks.c index cdf5770b..737467a8 100644 --- a/psutil/arch/freebsd/proc_socks.c +++ b/psutil/arch/freebsd/proc_socks.c @@ -8,6 +8,7 @@ */ #include <Python.h> +#include <sys/param.h> #include <sys/user.h> #include <sys/socketvar.h> // for struct xsocket #include <sys/un.h> diff --git a/psutil/arch/freebsd/sys_socks.c b/psutil/arch/freebsd/sys_socks.c index 9f7cf8d5..56c89724 100644 --- a/psutil/arch/freebsd/sys_socks.c +++ b/psutil/arch/freebsd/sys_socks.c @@ -10,6 +10,7 @@ */ #include <Python.h> +#include <sys/param.h> #include <sys/user.h> #include <sys/file.h> #include <sys/socketvar.h> // for struct xsocket |