From 1eb55ac5c56c4bb690bff3739f17d249ef92994b Mon Sep 17 00:00:00 2001
From: Andoni Morales Alastruey <ylatuya@gmail.com>
Date: Tue, 15 Jan 2013 12:19:39 +0100
Subject: [PATCH 1/3] Fix include for Bionic, where SIZE_MAX is in limits.h

---
 gl/read-file.c |    4 ++++
 1 file changed, 4 insertions(+)

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>
-- 
1.7.9.5

