From bce815faade9b4526b62dd237a9827228a2632a6 Mon Sep 17 00:00:00 2001 From: andersen Date: Wed, 12 Feb 2003 10:56:53 +0000 Subject: Don't use HZ -- use sysconf(_SC_CLK_TCK) git-svn-id: svn://busybox.net/trunk/busybox@6570 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- networking/libiproute/utils.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/networking/libiproute/utils.c b/networking/libiproute/utils.c index 63084e15e..2c23cd294 100644 --- a/networking/libiproute/utils.c +++ b/networking/libiproute/utils.c @@ -16,6 +16,7 @@ #include #include +#include #include #include "utils.h" @@ -316,7 +317,7 @@ int __get_hz(void) } if (hz) return hz; - return HZ; + return sysconf(_SC_CLK_TCK); } const char *rt_addr_n2a(int af, int len, void *addr, char *buf, int buflen) -- cgit v1.2.3-55-g6feb