aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/sys/time.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sys/time.h b/include/sys/time.h
index 76ce5f03c..650166145 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)