diff --git a/getloadavg.c b/getloadavg.c index 2d795db4..3e4a1d41 100644 --- a/getloadavg.c +++ b/getloadavg.c @@ -197,6 +197,14 @@ #endif /* No LOAD_AVE_TYPE. */ +#ifdef OSF_ALPHA +/* defines an incorrect value for FSCALE on Alpha OSF/1, + according to ghazi@noc.rutgers.edu. */ +#undef FSCALE +#define FSCALE 1024.0 +#endif + + #ifndef FSCALE /* SunOS and some others define FSCALE in sys/param.h. */