svn commit: r352306 - head/contrib/libcxxrt

Dimitry Andric dim at FreeBSD.org
Fri Sep 13 21:00:20 UTC 2019


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.


More information about the svn-src-head mailing list