diff --git a/include/sys/time.h b/include/sys/time.h index 76ce5f03c7..650166145b 100644 --- a/include/sys/time.h +++ b/include/sys/time.h @@ -46,7 +46,7 @@ #define MSEC2NSEC(m) ((hrtime_t)(m) * (NANOSEC / MILLISEC)) #define NSEC2MSEC(n) ((n) / (NANOSEC / MILLISEC)) -#define hz HZ +static const int hz = HZ; #define TIMESPEC_OVERFLOW(ts) \ ((ts)->tv_sec < TIME_MIN || (ts)->tv_sec > TIME_MAX)