ralloc: include limits.h for SIZE_MAX on Android

Android does not define SIZE_MAX in stdint.h.  We have to include
limits.h for it.

Reviewed-by: Chad Versace <chad@chad-versace.us>
This commit is contained in:
Chia-I Wu
2011-08-05 12:52:49 +09:00
parent cd893ccba9
commit b34770d834
+5
View File
@@ -28,6 +28,11 @@
#include <string.h>
#include <stdint.h>
/* Android defines SIZE_MAX in limits.h, instead of the standard stdint.h */
#ifdef ANDROID
#include <limits.h>
#endif
#include "ralloc.h"
#ifdef __GNUC__