summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2017-10-01 23:27:41 -0400
committerMichael Sevakis <jethead71@rockbox.org>2017-10-01 23:27:41 -0400
commit66b49dc0b2a47de9848fefe432611317b6ed8617 (patch)
tree75dd4f1bd339824ffd2da85ba2f52781d22fd85f /lib
parentb2a373eb642077fbf5f1bdbe74d1e82cc534f5f2 (diff)
downloadrockbox-66b49dc0b2a47de9848fefe432611317b6ed8617.tar.gz
rockbox-66b49dc0b2a47de9848fefe432611317b6ed8617.tar.bz2
rockbox-66b49dc0b2a47de9848fefe432611317b6ed8617.zip
Need limits.h for hosted builds
Change-Id: Iac1433957de80ad5db51396f74acf1f4f8d45bf3
Diffstat (limited to 'lib')
-rw-r--r--lib/fixedpoint/fixedpoint.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/fixedpoint/fixedpoint.c b/lib/fixedpoint/fixedpoint.c
index 4530857df0..645419d102 100644
--- a/lib/fixedpoint/fixedpoint.c
+++ b/lib/fixedpoint/fixedpoint.c
@@ -24,6 +24,7 @@
#include <stdlib.h>
#include <stdbool.h>
#include <inttypes.h>
+#include <limits.h>
#define ULONG_BITS (sizeof (unsigned long)*CHAR_BIT)