Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Sep 2019 21:00:20 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r352306 - head/contrib/libcxxrt
Message-ID:  <201909132100.x8DL0Kid049604@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Fri Sep 13 21:00:19 2019
New Revision: 352306
URL: https://svnweb.freebsd.org/changeset/base/352306

Log:
  Include <stdint.h> in unwind-arm.h, since it uses uint32_t and uint64_t
  in various declarations.
  
  Otherwise, depending on how unwind-arm.h is included from other source
  files, the compiler may complain that uint32_t and uint64_t are unknown
  types.
  
  MFC after:	3 days

Modified:
  head/contrib/libcxxrt/unwind-arm.h

Modified: head/contrib/libcxxrt/unwind-arm.h
==============================================================================
--- head/contrib/libcxxrt/unwind-arm.h	Fri Sep 13 20:21:59 2019	(r352305)
+++ head/contrib/libcxxrt/unwind-arm.h	Fri Sep 13 21:00:19 2019	(r352306)
@@ -20,6 +20,9 @@
  * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  */ 
 
+/* For uint32_t and uint64_t */
+#include <stdint.h>
+
 /**
  * ARM-specific unwind definitions.  These are taken from the ARM EHABI
  * specification.



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