summaryrefslogtreecommitdiffstats
path: root/cddl
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2011-12-15 23:06:46 +0000
committerdim <dim@FreeBSD.org>2011-12-15 23:06:46 +0000
commitd2766f8c76d5cd318b45c97d363793eef3551be8 (patch)
treee8860c02fea95cc6333d0c35ef66075095524f61 /cddl
parente6a24af3b9241cfc2b0cfa1f2dbca91f685e6765 (diff)
downloadFreeBSD-src-d2766f8c76d5cd318b45c97d363793eef3551be8.zip
FreeBSD-src-d2766f8c76d5cd318b45c97d363793eef3551be8.tar.gz
In cddl/contrib/opensolaris/lib/libdtrace/common/dt_subr.c, the
dt_popc() function assumes that either _ILP32 or _LP64 is defined, otherwise it has no suitable implementation. However, the _ILP32 and _LP64 macros come from isa_defs.h, which is not included in this file. Add the include now, to get the macros defined. MFC after: 1 week
Diffstat (limited to 'cddl')
-rw-r--r--cddl/contrib/opensolaris/lib/libdtrace/common/dt_subr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cddl/contrib/opensolaris/lib/libdtrace/common/dt_subr.c b/cddl/contrib/opensolaris/lib/libdtrace/common/dt_subr.c
index ea4607f..839ce06 100644
--- a/cddl/contrib/opensolaris/lib/libdtrace/common/dt_subr.c
+++ b/cddl/contrib/opensolaris/lib/libdtrace/common/dt_subr.c
@@ -27,6 +27,7 @@
#if defined(sun)
#include <sys/sysmacros.h>
#endif
+#include <sys/isa_defs.h>
#include <strings.h>
#include <unistd.h>
OpenPOWER on IntegriCloud