projects
/
platform
/
upstream
/
libtasn1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40ea6d9
)
Fix include for Bionic, where SIZE_MAX is in limits.h
author
Andoni Morales Alastruey
<ylatuya@gmail.com>
Tue, 15 Jan 2013 11:19:39 +0000
(12:19 +0100)
committer
Nikos 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
patch
|
blob
|
history
diff --git
a/gl/read-file.c
b/gl/read-file.c
index
0d5ab8b
..
87a7f36
100644
(file)
--- 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>