From b409969b2d78ad3ec7631787150265035919574e Mon Sep 17 00:00:00 2001 From: dim Date: Sat, 31 Dec 2011 14:04:54 +0000 Subject: [PATCH 43/65] MFC r228550: 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. git-svn-id: http://svn.freebsd.org/base/stable/9@229092 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f (cherry picked from commit 6b8cc6eeafac14529aab90e00e38413b7ddc7d51) Signed-off-by: Xin Li --- .../opensolaris/lib/libdtrace/common/dt_subr.c | 1 + 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 #endif +#include #include #include -- 1.7.8.3