File: drop_sys_sysctl.h.patch

package info (click to toggle)
mothur 1.48.5-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 13,684 kB
  • sloc: cpp: 161,854; makefile: 122; sh: 31
file content (36 lines) | stat: -rw-r--r-- 1,072 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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>