diff options
author | Kurt Lidl <lidl@FreeBSD.org> | 2015-12-11 15:12:01 +0000 |
---|---|---|
committer | Kurt Lidl <lidl@FreeBSD.org> | 2015-12-11 15:12:01 +0000 |
commit | db792209dd4855c15f3f4580d6059c34e28ac18f (patch) | |
tree | cfcd2a25e1a4e3e8d0bc16d0f0bdc03d0fa1fe76 /contrib/top | |
parent | c8daf7a00fa49989fc8f19eea576e0b996206856 (diff) | |
download | src-db792209dd4855c15f3f4580d6059c34e28ac18f.tar.gz src-db792209dd4855c15f3f4580d6059c34e28ac18f.zip |
Fixup include protections for building on mips64 with clang
Reviewed by: sbruno, imp
Approved by: rpaulo (mentor)
Differential Revision: https://reviews.freebsd.org/D4457
Notes
Notes:
svn path=/head/; revision=292110
Diffstat (limited to 'contrib/top')
-rw-r--r-- | contrib/top/loadavg.h | 4 |
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 |