diff options
Diffstat (limited to 'firmware/include')
-rw-r--r-- | firmware/include/bitarray.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/include/bitarray.h b/firmware/include/bitarray.h index 4777ccb6a4..a1e7a3fd58 100644 --- a/firmware/include/bitarray.h +++ b/firmware/include/bitarray.h | |||
@@ -44,6 +44,7 @@ | |||
44 | /** Iterators **/ | 44 | /** Iterators **/ |
45 | #include "config.h" | 45 | #include "config.h" |
46 | #include <stdint.h> | 46 | #include <stdint.h> |
47 | #include <limits.h> | ||
47 | 48 | ||
48 | #if (defined(CPU_ARM) && ARM_ARCH >= 5) || UINT32_MAX < UINT_MAX | 49 | #if (defined(CPU_ARM) && ARM_ARCH >= 5) || UINT32_MAX < UINT_MAX |
49 | #define __BITARRAY_CTZ(wval) __builtin_ctz(wval) | 50 | #define __BITARRAY_CTZ(wval) __builtin_ctz(wval) |