Merge change 6375
* changes:
Fix build on some linux distros.
diff --git a/modules/gralloc/gralloc_priv.h b/modules/gralloc/gralloc_priv.h
index c3e34bd..aa757b1 100644
--- a/modules/gralloc/gralloc_priv.h
+++ b/modules/gralloc/gralloc_priv.h
@@ -18,7 +18,11 @@
#define GRALLOC_PRIV_H_
#include <stdint.h>
-#include <asm/page.h>
+#ifdef HAVE_ANDROID_OS // just want PAGE_SIZE define
+# include <asm/page.h>
+#else
+# include <sys/user.h>
+#endif
#include <limits.h>
#include <sys/cdefs.h>
#include <hardware/gralloc.h>