summaryrefslogtreecommitdiff
path: root/src/getloadavg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/getloadavg.c')
-rw-r--r--src/getloadavg.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/getloadavg.c b/src/getloadavg.c
index 8dba8a181f3..db1f7158a90 100644
--- a/src/getloadavg.c
+++ b/src/getloadavg.c
@@ -203,6 +203,9 @@
#endif
#if defined (sgi) || defined (sequent)
+/* Sometimes both MIPS and sgi are defined, so FSCALE was just defined
+ above under #ifdef MIPS. But we want the sgi value. */
+#undef FSCALE
#define FSCALE 1000.0
#endif