From 81c4d5b6b7b14203e079bd1cc600d4ceedafb1ed Mon Sep 17 00:00:00 2001 From: Mayank Jha Date: Wed, 13 Mar 2024 01:23:53 +0530 Subject: [PATCH 1/2] Update to fix OSX older version build failure Signed-off-by: Mayank Jha --- psutil/arch/osx/net.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/psutil/arch/osx/net.c b/psutil/arch/osx/net.c index 24ce1b834..6424f0bde 100644 --- a/psutil/arch/osx/net.c +++ b/psutil/arch/osx/net.c @@ -9,11 +9,12 @@ // https://github.com/giampaolo/psutil/blame/efd7ed3/psutil/_psutil_osx.c #include +#include +#include #include #include #include -#include -#include + #include "../../_psutil_common.h" From 2397ab9836312645eb8784a806f8c1d4d399054c Mon Sep 17 00:00:00 2001 From: Mayank Jha Date: Wed, 13 Mar 2024 01:32:01 +0530 Subject: [PATCH 2/2] Remove extra line Signed-off-by: Mayank Jha --- psutil/arch/osx/net.c | 1 - 1 file changed, 1 deletion(-) diff --git a/psutil/arch/osx/net.c b/psutil/arch/osx/net.c index 6424f0bde..d365676ce 100644 --- a/psutil/arch/osx/net.c +++ b/psutil/arch/osx/net.c @@ -15,7 +15,6 @@ #include #include - #include "../../_psutil_common.h"