summaryrefslogtreecommitdiffstats
path: root/modules/gralloc
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-02-24 15:50:34 -0800
committerElliott Hughes <enh@google.com>2014-02-24 15:50:34 -0800
commit6caa78dc37e58b951d37ec51682acab713b344c3 (patch)
tree134ccbc5ccc8bebc84ab7ce4680fb24c8eb1f0c5 /modules/gralloc
parent80d4eced69f4d1e9f9ef97b5f4f26868cd76ae26 (diff)
downloadhardware_libhardware-6caa78dc37e58b951d37ec51682acab713b344c3.zip
hardware_libhardware-6caa78dc37e58b951d37ec51682acab713b344c3.tar.gz
hardware_libhardware-6caa78dc37e58b951d37ec51682acab713b344c3.tar.bz2
Move libhardware of <asm/page.h>.
Change-Id: I7cf9d04828f19b8d7d1d3b8948bef580b101b10c
Diffstat (limited to 'modules/gralloc')
-rw-r--r--modules/gralloc/gr.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/modules/gralloc/gr.h b/modules/gralloc/gr.h
index 3a43aa7..732b6bc 100644
--- a/modules/gralloc/gr.h
+++ b/modules/gralloc/gr.h
@@ -18,11 +18,7 @@
#define GR_H_
#include <stdint.h>
-#ifdef HAVE_ANDROID_OS // just want PAGE_SIZE define
-# include <asm/page.h>
-#else
-# include <sys/user.h>
-#endif
+#include <sys/user.h>
#include <limits.h>
#include <sys/cdefs.h>
#include <hardware/gralloc.h>