aboutsummaryrefslogtreecommitdiff
path: root/internal/platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'internal/platform.h')
-rw-r--r--internal/platform.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/platform.h b/internal/platform.h
index 54517c3..0f3a2b8 100644
--- a/internal/platform.h
+++ b/internal/platform.h
@@ -30,8 +30,7 @@
#include <sys/time.h>
#endif
-#if defined __ANDROID__
-#include <android/api-level.h>
+#if defined ANDROID || defined __ANDROID__
#include <malloc.h>
// The 18 here should be 16, but has to be 18 for now due
// to a Google-internal issue.