diff options
Diffstat (limited to 'modules/gralloc')
-rw-r--r-- | modules/gralloc/gr.h | 6 | ||||
-rw-r--r-- | modules/gralloc/gralloc_priv.h | 2 |
2 files changed, 2 insertions, 6 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> diff --git a/modules/gralloc/gralloc_priv.h b/modules/gralloc/gralloc_priv.h index 22a5715..2cd1007 100644 --- a/modules/gralloc/gralloc_priv.h +++ b/modules/gralloc/gralloc_priv.h @@ -75,7 +75,7 @@ struct private_handle_t { int offset; // FIXME: the attributes below should be out-of-line - uintptr_t base; + uint64_t base __attribute__((aligned(8))); int pid; #ifdef __cplusplus |