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:
@@ -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__
|
||||
|
||||
Reference in New Issue
Block a user