Packages/BioArchLinux/mothur/drop_sys_sysctl.h.patch
2023-02-16 20:17:46 +05:30

36 lines
1 KiB
Diff

From: Andreas Tille <tille@debian.org>
Date: Mon, 20 Jun 2022 13:56:45 +0200
Subject: Do not include sys/sysctl.h since it will be removed and is not used
anyway
Bug-Debia: https://bugs.debian.org/967985
Last-Update: Fri, 04 Dec 2020 21:50:02 +0100
---
TestMothur/catch.hpp | 1 -
source/uchime_src/myutils.cpp | 1 -
2 files changed, 2 deletions(-)
diff --git a/TestMothur/catch.hpp b/TestMothur/catch.hpp
index 5ee3b29..1e8340a 100644
--- a/TestMothur/catch.hpp
+++ b/TestMothur/catch.hpp
@@ -7992,7 +7992,6 @@ namespace Catch {
#include <stdbool.h>
#include <sys/types.h>
#include <unistd.h>
- #include <sys/sysctl.h>
namespace Catch{
diff --git a/source/uchime_src/myutils.cpp b/source/uchime_src/myutils.cpp
index 4fa92b1..5a5a861 100755
--- a/source/uchime_src/myutils.cpp
+++ b/source/uchime_src/myutils.cpp
@@ -672,7 +672,6 @@ double GetMemUseBytes()
#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>
-#include <sys/sysctl.h>
#include <sys/socket.h>
#include <sys/gmon.h>
#include <mach/vm_param.h>