From d09f7a4396f7379f995ab646329ca54e44a6d705 Mon Sep 17 00:00:00 2001 From: David Lechner Date: Thu, 12 Dec 2019 17:02:53 -0600 Subject: [PATCH] add #include to int64.h When using the `gcc -M` option to determine header file dependencies, int64.h causes an error because the types from stdint.h are not defined. --- libfixmath/int64.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libfixmath/int64.h b/libfixmath/int64.h index d303259..0479336 100644 --- a/libfixmath/int64.h +++ b/libfixmath/int64.h @@ -6,6 +6,8 @@ extern "C" { #endif +#include + #ifndef FIXMATH_NO_64BIT static inline int64_t int64_const(int32_t hi, uint32_t lo) { return (((int64_t)hi << 32) | lo); } static inline int64_t int64_from_int32(int32_t x) { return (int64_t)x; }