=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/top/Attic/loadavg.h,v retrieving revision 1.3 retrieving revision 1.4 diff -c -r1.3 -r1.4 *** src/usr.bin/top/Attic/loadavg.h 2002/07/15 17:20:36 1.3 --- src/usr.bin/top/Attic/loadavg.h 2015/01/19 01:53:18 1.4 *************** *** 1,4 **** ! /* $OpenBSD: loadavg.h,v 1.3 2002/07/15 17:20:36 deraadt Exp $ */ /* * Top users/processes display for Unix --- 1,4 ---- ! /* $OpenBSD: loadavg.h,v 1.4 2015/01/19 01:53:18 deraadt Exp $ */ /* * Top users/processes display for Unix *************** *** 54,59 **** --- 54,64 ---- # if defined(FBITS) && !defined(FSCALE) # define FSCALE (1 << FBITS) /* mips */ # endif + #endif + + #ifdef __OpenBSD__ + #undef FSCALE + #define FSCALE fscale /* fetched via sysctl(3) */ #endif #ifdef FSCALE