16 lines
508 B
Plaintext
16 lines
508 B
Plaintext
$OpenBSD: patch-loadavg_h,v 1.1 2010/06/14 07:07:49 jasper Exp $
|
|
|
|
Having 'mips' defined doesn't mean we run Irix.
|
|
|
|
--- loadavg.h.orig Mon Jun 14 01:05:15 2010
|
|
+++ loadavg.h Mon Jun 14 01:05:30 2010
|
|
@@ -22,7 +22,7 @@
|
|
*
|
|
* Defined types: load_avg for load averages, pctcpu for cpu percentages.
|
|
*/
|
|
-#if defined(mips) && !defined(NetBSD)
|
|
+#if defined(mips) && !defined(NetBSD) && !defined(OpenBSD)
|
|
#include <sys/fixpoint.h>
|
|
#if defined(FBITS) && !defined(FSCALE)
|
|
#define FSCALE (1 << FBITS) /* mips */
|