summaryrefslogtreecommitdiff
path: root/gl
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2013-01-15 12:19:39 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2013-01-15 21:39:43 +0100
commit76775b5b3717ef59fc8d272d9ed7d56dba038cbf (patch)
tree360db275a48ac4cef879b2508d2f0ec6cc19d08d /gl
parent40ea6d9515d7436cfadb85d21cdf5a6539698759 (diff)
downloadlibtasn1-76775b5b3717ef59fc8d272d9ed7d56dba038cbf.tar.gz
libtasn1-76775b5b3717ef59fc8d272d9ed7d56dba038cbf.tar.bz2
libtasn1-76775b5b3717ef59fc8d272d9ed7d56dba038cbf.zip
Fix include for Bionic, where SIZE_MAX is in limits.h
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
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>