svn commit: r229092 - stable/9/cddl/contrib/opensolaris/lib/libdtrace/common

Dimitry Andric dim at FreeBSD.org
Sat Dec 31 14:04:54 UTC 2011


Author: dim
Date: Sat Dec 31 14:04:54 2011
New Revision: 229092
URL: http://svn.freebsd.org/changeset/base/229092

Log:
  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.

Modified:
  stable/9/cddl/contrib/opensolaris/lib/libdtrace/common/dt_subr.c
Directory Properties:
  stable/9/cddl/contrib/opensolaris/   (props changed)

Modified: stable/9/cddl/contrib/opensolaris/lib/libdtrace/common/dt_subr.c
==============================================================================
--- stable/9/cddl/contrib/opensolaris/lib/libdtrace/common/dt_subr.c	Sat Dec 31 14:02:16 2011	(r229091)
+++ stable/9/cddl/contrib/opensolaris/lib/libdtrace/common/dt_subr.c	Sat Dec 31 14:04:54 2011	(r229092)
@@ -27,6 +27,7 @@
 #if defined(sun)
 #include <sys/sysmacros.h>
 #endif
+#include <sys/isa_defs.h>
 
 #include <strings.h>
 #include <unistd.h>


More information about the svn-src-stable-9 mailing list