commit | 1daf365476f888a5d9534607c8299a3b5160b4a7 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Mon Feb 24 16:23:00 2014 -0800 |
committer | Elliott Hughes <enh@google.com> | Mon Feb 24 16:23:00 2014 -0800 |
tree | e25df03a8e0e6c53ec08cc1b050738292c3d8cae | |
parent | 155ca91c1253bcb85a0eeec93ded6da07122d4ff [diff] |
Remove #include <asm/page.h>. Change-Id: I1476efe9a706fe322ec23571c6375b847a0ccf2f
diff --git a/opengl/system/gralloc/gralloc.cpp b/opengl/system/gralloc/gralloc.cpp index 6250a2f..75909bd 100644 --- a/opengl/system/gralloc/gralloc.cpp +++ b/opengl/system/gralloc/gralloc.cpp
@@ -15,11 +15,7 @@ */ #include <string.h> #include <pthread.h> -#ifdef HAVE_ANDROID_OS // just want PAGE_SIZE define -# include <asm/page.h> -#else -# include <sys/user.h> -#endif +#include <limits.h> #include <cutils/ashmem.h> #include <unistd.h> #include <errno.h>