From d2766f8c76d5cd318b45c97d363793eef3551be8 Mon Sep 17 00:00:00 2001 From: dim Date: Thu, 15 Dec 2011 23:06:46 +0000 Subject: 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 --- cddl/contrib/opensolaris/lib/libdtrace/common/dt_subr.c | 1 + 1 file changed, 1 insertion(+) (limited to 'cddl/contrib/opensolaris/lib') 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 -- cgit v1.1