Merge change 6375
* changes: Fix build on some linux distros.
This commit is contained in:
@@ -18,7 +18,11 @@
|
|||||||
#define GRALLOC_PRIV_H_
|
#define GRALLOC_PRIV_H_
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
#ifdef HAVE_ANDROID_OS // just want PAGE_SIZE define
|
||||||
# include <asm/page.h>
|
# include <asm/page.h>
|
||||||
|
#else
|
||||||
|
# include <sys/user.h>
|
||||||
|
#endif
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
#include <hardware/gralloc.h>
|
#include <hardware/gralloc.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user