]> xenbits.xensource.com Git - freebsd.git/commitdiff
Include <stdint.h> in unwind-arm.h, since it uses uint32_t and uint64_t
authordim <dim@FreeBSD.org>
Fri, 13 Sep 2019 21:00:19 +0000 (21:00 +0000)
committerdim <dim@FreeBSD.org>
Fri, 13 Sep 2019 21:00:19 +0000 (21:00 +0000)
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

contrib/libcxxrt/unwind-arm.h

index 4dc639882bca1a857aa87d09561507631fb3401f..a4bf1bd058bce98fa900579873041e69fee6ab59 100644 (file)
@@ -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.