Fix include for Bionic, where SIZE_MAX is in limits.h
authorAndoni Morales Alastruey <ylatuya@gmail.com>
Tue, 15 Jan 2013 11:19:39 +0000 (12:19 +0100)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Tue, 15 Jan 2013 20:39:43 +0000 (21:39 +0100)
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
gl/read-file.c

index 0d5ab8b..87a7f36 100644 (file)
 #include <stdio.h>
 
 /* Get SIZE_MAX.  */
+#ifdef __BIONIC__
+#include <limits.h>
+#else
 #include <stdint.h>
+#endif
 
 /* Get malloc, realloc, free. */
 #include <stdlib.h>