summaryrefslogtreecommitdiff
path: root/gl
diff options
context:
space:
mode:
Diffstat (limited to 'gl')
-rw-r--r--gl/read-file.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gl/read-file.c b/gl/read-file.c
index 0d5ab8b..87a7f36 100644
--- a/gl/read-file.c
+++ b/gl/read-file.c
@@ -26,7 +26,11 @@
#include <stdio.h>
/* Get SIZE_MAX. */
+#ifdef __BIONIC__
+#include <limits.h>
+#else
#include <stdint.h>
+#endif
/* Get malloc, realloc, free. */
#include <stdlib.h>