Merge change 6375

* changes:
  Fix build on some linux distros.
This commit is contained in:
Android (Google) Code Review
2009-07-07 12:21:48 -07:00

View File

@@ -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>