summaryrefslogtreecommitdiffstats
path: root/opengl/system/gralloc/gralloc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'opengl/system/gralloc/gralloc.cpp')
-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>