summaryrefslogtreecommitdiffstats
path: root/opengl
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-02-24 16:23:00 -0800
committerElliott Hughes <enh@google.com>2014-02-24 16:23:00 -0800
commit1daf365476f888a5d9534607c8299a3b5160b4a7 (patch)
treee25df03a8e0e6c53ec08cc1b050738292c3d8cae /opengl
parent155ca91c1253bcb85a0eeec93ded6da07122d4ff (diff)
downloadandroid_device_generic_goldfish-1daf365476f888a5d9534607c8299a3b5160b4a7.tar.gz
android_device_generic_goldfish-1daf365476f888a5d9534607c8299a3b5160b4a7.tar.bz2
android_device_generic_goldfish-1daf365476f888a5d9534607c8299a3b5160b4a7.zip
Remove #include <asm/page.h>.
Change-Id: I1476efe9a706fe322ec23571c6375b847a0ccf2f
Diffstat (limited to 'opengl')
-rw-r--r--opengl/system/gralloc/gralloc.cpp6
1 files changed, 1 insertions, 5 deletions
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>