diff --git a/src/os/darwin/darwin_sigar.c b/src/os/darwin/darwin_sigar.c index 90937688..845cbde8 100644 --- a/src/os/darwin/darwin_sigar.c +++ b/src/os/darwin/darwin_sigar.c @@ -1817,8 +1817,6 @@ int sigar_net_interface_stat_get(sigar_t *sigar, const char *name, return SIGAR_OK; } -#if defined(SIGAR_FREEBSD5) || defined(DARWIN) - #include #include #include @@ -1985,14 +1983,6 @@ int sigar_net_connection_list_get(sigar_t *sigar, return SIGAR_OK; } -#else -int sigar_net_connection_list_get(sigar_t *sigar, - sigar_net_connection_list_t *connlist, - int flags) -{ - return SIGAR_ENOTIMPL; -} -#endif #if defined(SIGAR_FREEBSD5)