aboutsummaryrefslogtreecommitdiff
path: root/contrib/top/loadavg.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/top/loadavg.h')
-rw-r--r--contrib/top/loadavg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/top/loadavg.h b/contrib/top/loadavg.h
index e3c156cc12b7..2f20231a6d1d 100644
--- a/contrib/top/loadavg.h
+++ b/contrib/top/loadavg.h
@@ -19,10 +19,10 @@
*
* Defined types: load_avg for load averages, pctcpu for cpu percentages.
*/
-#if defined(mips) && !defined(NetBSD)
+#if defined(mips) && !(defined(NetBSD) || defined(FreeBSD))
# include <sys/fixpoint.h>
# if defined(FBITS) && !defined(FSCALE)
-# define FSCALE (1 << FBITS) /* mips */
+# define FSCALE (1 << FBITS) /* RISC/os on mips */
# endif
#endif