diff options
author | Michael Aldridge <aldridge.mac@gmail.com> | 2016-07-06 02:38:23 -0500 |
---|---|---|
committer | Michael Aldridge <aldridge.mac@gmail.com> | 2016-07-06 02:38:23 -0500 |
commit | 1a896949804f60161118b742cadd2bf9c290420b (patch) | |
tree | 297d1453672e5d1cdd5a1eed2accc74e13ad8f3f | |
parent | 4218cd13d5c73b9860568ec651142e16d95559a1 (diff) | |
download | infinitytier-1a896949804f60161118b742cadd2bf9c290420b.tar.gz infinitytier-1a896949804f60161118b742cadd2bf9c290420b.zip |
Remove explicit sys/sysctl.h includes
Explicitly including sys/sysctl.h breaks the ability to build
against muslc.
-rw-r--r-- | attic/OSXEthernetTap.cpp.pcap-with-bridge-test | 1 | ||||
-rw-r--r-- | attic/OSXEthernetTap.cpp.utun-work-in-progress | 1 | ||||
-rw-r--r-- | ext/libnatpmp/getgateway.c | 1 | ||||
-rw-r--r-- | osdep/BSDEthernetTap.cpp | 1 | ||||
-rw-r--r-- | osdep/ManagedRoute.cpp | 1 | ||||
-rw-r--r-- | osdep/OSXEthernetTap.cpp | 1 |
6 files changed, 0 insertions, 6 deletions
diff --git a/attic/OSXEthernetTap.cpp.pcap-with-bridge-test b/attic/OSXEthernetTap.cpp.pcap-with-bridge-test index 60194421..baae0a4b 100644 --- a/attic/OSXEthernetTap.cpp.pcap-with-bridge-test +++ b/attic/OSXEthernetTap.cpp.pcap-with-bridge-test @@ -43,7 +43,6 @@ #include <sys/cdefs.h> #include <sys/uio.h> #include <sys/param.h> -#include <sys/sysctl.h> #include <sys/ioctl.h> #include <sys/socket.h> #include <netinet/in.h> diff --git a/attic/OSXEthernetTap.cpp.utun-work-in-progress b/attic/OSXEthernetTap.cpp.utun-work-in-progress index b7a05334..f40483e8 100644 --- a/attic/OSXEthernetTap.cpp.utun-work-in-progress +++ b/attic/OSXEthernetTap.cpp.utun-work-in-progress @@ -43,7 +43,6 @@ #include <sys/cdefs.h> #include <sys/uio.h> #include <sys/param.h> -#include <sys/sysctl.h> #include <sys/ioctl.h> #include <sys/socket.h> #include <sys/sys_domain.h> diff --git a/ext/libnatpmp/getgateway.c b/ext/libnatpmp/getgateway.c index dfb9f3e2..7f314152 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 <stdlib.h> -#include <sys/sysctl.h> #include <sys/socket.h> #include <net/route.h> #endif diff --git a/osdep/BSDEthernetTap.cpp b/osdep/BSDEthernetTap.cpp index 3e0c2264..e8d36c9c 100644 --- a/osdep/BSDEthernetTap.cpp +++ b/osdep/BSDEthernetTap.cpp @@ -34,7 +34,6 @@ #include <sys/cdefs.h> #include <sys/uio.h> #include <sys/param.h> -#include <sys/sysctl.h> #include <sys/ioctl.h> #include <sys/socket.h> #include <netinet/in.h> diff --git a/osdep/ManagedRoute.cpp b/osdep/ManagedRoute.cpp index 54990122..b87506c0 100644 --- a/osdep/ManagedRoute.cpp +++ b/osdep/ManagedRoute.cpp @@ -33,7 +33,6 @@ #ifdef __UNIX_LIKE__ #include <unistd.h> #include <sys/param.h> -#include <sys/sysctl.h> #include <sys/socket.h> #include <sys/types.h> #include <sys/wait.h> diff --git a/osdep/OSXEthernetTap.cpp b/osdep/OSXEthernetTap.cpp index e8c5c1ea..89cbbdac 100644 --- a/osdep/OSXEthernetTap.cpp +++ b/osdep/OSXEthernetTap.cpp @@ -34,7 +34,6 @@ #include <sys/cdefs.h> #include <sys/uio.h> #include <sys/param.h> -#include <sys/sysctl.h> #include <sys/ioctl.h> #include <sys/socket.h> #include <netinet/in.h> |