From cc8cf193a3edc0b739ee7cc0797df23d99d3c287 Mon Sep 17 00:00:00 2001
From: Andoni Morales Alastruey <ylatuya@gmail.com>
Date: Tue, 15 Jan 2013 13:04:56 +0100
Subject: [PATCH] read-file: fix include for SIZE_MAX with Bionic libc

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

diff --git a/lib/read-file.c b/lib/read-file.c
index 8eff1b9..c63f30c 100644
--- a/lib/read-file.c
+++ b/lib/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

