From 1a896949804f60161118b742cadd2bf9c290420b Mon Sep 17 00:00:00 2001 From: Michael Aldridge Date: Wed, 6 Jul 2016 02:38:23 -0500 Subject: [PATCH] Remove explicit sys/sysctl.h includes Explicitly including sys/sysctl.h breaks the ability to build against muslc. --- attic/OSXEthernetTap.cpp.pcap-with-bridge-test | 1 - attic/OSXEthernetTap.cpp.utun-work-in-progress | 1 - ext/libnatpmp/getgateway.c | 1 - osdep/BSDEthernetTap.cpp | 1 - osdep/ManagedRoute.cpp | 1 - osdep/OSXEthernetTap.cpp | 1 - 6 files changed, 6 deletions(-) diff --git a/attic/OSXEthernetTap.cpp.pcap-with-bridge-test b/attic/OSXEthernetTap.cpp.pcap-with-bridge-test index 60194421c..baae0a4b3 100644 --- a/attic/OSXEthernetTap.cpp.pcap-with-bridge-test +++ b/attic/OSXEthernetTap.cpp.pcap-with-bridge-test @@ -43,7 +43,6 @@ #include #include #include -#include #include #include #include diff --git a/attic/OSXEthernetTap.cpp.utun-work-in-progress b/attic/OSXEthernetTap.cpp.utun-work-in-progress index b7a05334d..f40483e8c 100644 --- a/attic/OSXEthernetTap.cpp.utun-work-in-progress +++ b/attic/OSXEthernetTap.cpp.utun-work-in-progress @@ -43,7 +43,6 @@ #include #include #include -#include #include #include #include diff --git a/ext/libnatpmp/getgateway.c b/ext/libnatpmp/getgateway.c index dfb9f3e21..7f3141521 100644 --- a/ext/libnatpmp/getgateway.c +++ b/ext/libnatpmp/getgateway.c @@ -96,7 +96,6 @@ POSSIBILITY OF SUCH DAMAGE. #ifdef USE_SYSCTL_NET_ROUTE #include -#include #include #include #endif diff --git a/osdep/BSDEthernetTap.cpp b/osdep/BSDEthernetTap.cpp index 3e0c22642..e8d36c9c5 100644 --- a/osdep/BSDEthernetTap.cpp +++ b/osdep/BSDEthernetTap.cpp @@ -34,7 +34,6 @@ #include #include #include -#include #include #include #include diff --git a/osdep/ManagedRoute.cpp b/osdep/ManagedRoute.cpp index 549901224..b87506c07 100644 --- a/osdep/ManagedRoute.cpp +++ b/osdep/ManagedRoute.cpp @@ -33,7 +33,6 @@ #ifdef __UNIX_LIKE__ #include #include -#include #include #include #include diff --git a/osdep/OSXEthernetTap.cpp b/osdep/OSXEthernetTap.cpp index e8c5c1eac..89cbbdac3 100644 --- a/osdep/OSXEthernetTap.cpp +++ b/osdep/OSXEthernetTap.cpp @@ -34,7 +34,6 @@ #include #include #include -#include #include #include #include