summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorErik de Castro Lopo <erikd@mega-nerd.com>2017-05-03 18:37:12 +1000
committerErik de Castro Lopo <erikd@mega-nerd.com>2017-05-03 18:37:12 +1000
commitb762a20ace7c7771f87f63478bcee3cf51268cff (patch)
treeebeb0da7c6a1115f09696b34cd842b4abd0a06a9 /include
parent64f47c2d71ffba5aa8cd1d2a447339fd95f362f9 (diff)
downloadflac-b762a20ace7c7771f87f63478bcee3cf51268cff.tar.gz
Fix missing SIZE_MAX definition on Android
Diffstat (limited to 'include')
-rw-r--r--include/share/compat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/share/compat.h b/include/share/compat.h
index 2ad40fb9..b8727621 100644
--- a/include/share/compat.h
+++ b/include/share/compat.h
@@ -175,6 +175,10 @@
#define flac_fstat fstat
#endif
+#ifdef ANDROID
+#include <limits.h>
+#endif
+
#ifndef M_LN2
#define M_LN2 0.69314718055994530942
#endif