Fixup include protections for building on mips64 with clang

Reviewed by:	sbruno, imp
Approved by:	rpaulo (mentor)
Differential Revision:	https://reviews.freebsd.org/D4457
This commit is contained in:
Kurt Lidl 2015-12-11 15:12:01 +00:00
parent c8daf7a00f
commit db792209dd

View File

@ -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