libgralloc: add missing ion ifdefs

Change-Id: I34ce6e17da0ad7b1831008e7d6555c8e530d09b2
This commit is contained in:
Andrew Sutherland 2012-05-22 17:05:46 -05:00
parent 22a0392cf3
commit 9bcdf571d7
2 changed files with 4 additions and 0 deletions

View File

@ -33,7 +33,9 @@
#include "gralloc_priv.h"
#include "alloc_controller.h"
#include "memalloc.h"
#ifdef USE_ION
#include "ionalloc.h"
#endif
#include "pmemalloc.h"
#include "ashmemalloc.h"
#include "gr.h"

View File

@ -30,7 +30,9 @@
#ifndef GRALLOC_PMEMALLOC_H
#define GRALLOC_PMEMALLOC_H
#ifdef USE_ION
#include <linux/ion.h>
#endif
#include <utils/RefBase.h>
#include "memalloc.h"