Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Dec 2011 14:04:54 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r229092 - stable/9/cddl/contrib/opensolaris/lib/libdtrace/common
Message-ID:  <201112311404.pBVE4sei066617@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112311404.pBVE4sei066617>