diff options
author | Andoni Morales Alastruey <ylatuya@gmail.com> | 2013-01-15 12:19:39 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2013-01-15 21:39:43 +0100 |
commit | 76775b5b3717ef59fc8d272d9ed7d56dba038cbf (patch) | |
tree | 360db275a48ac4cef879b2508d2f0ec6cc19d08d /gl | |
parent | 40ea6d9515d7436cfadb85d21cdf5a6539698759 (diff) | |
download | libtasn1-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.c | 4 |
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> |