diff --git a/src/os/stub/stub_sigar.c b/src/os/stub/stub_sigar.c index 7cc7b32a..12b75d92 100644 --- a/src/os/stub/stub_sigar.c +++ b/src/os/stub/stub_sigar.c @@ -1,6 +1,7 @@ #include "sigar.h" #include "sigar_private.h" #include "sigar_os.h" +#include "sigar_util.h" int sigar_os_open(sigar_t **sigar) { @@ -218,11 +219,7 @@ int sigar_cpu_info_list_get(sigar_t *sigar, int sigar_net_route_list_get(sigar_t *sigar, sigar_net_route_list_t *routelist) { - sigar_net_route_t *route; - - sigar_net_route_list_create(routelist); - - return SIGAR_OK; + return SIGAR_ENOTIMPL; } int sigar_net_interface_stat_get(sigar_t *sigar, const char *name,