summaryrefslogtreecommitdiffstats
path: root/include/binder/MemoryHeapPmem.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/binder/MemoryHeapPmem.h')
-rw-r--r--include/binder/MemoryHeapPmem.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/binder/MemoryHeapPmem.h b/include/binder/MemoryHeapPmem.h
index e1660c4..02e83f8 100644
--- a/include/binder/MemoryHeapPmem.h
+++ b/include/binder/MemoryHeapPmem.h
@@ -20,18 +20,26 @@
#include <stdlib.h>
#include <stdint.h>
+#ifdef USE_ECLAIR_MEMORYDEALER
+#include <binder/MemoryDealer.h>
+#endif
#include <binder/MemoryHeapBase.h>
#include <binder/IMemory.h>
#include <utils/SortedVector.h>
+#ifndef USE_ECLAIR_MEMORYDEALER
#include <utils/threads.h>
+#endif
namespace android {
class MemoryHeapBase;
// ---------------------------------------------------------------------------
-
+#ifdef USE_ECLAIR_MEMORYDEALER
+class MemoryHeapPmem : public HeapInterface, public MemoryHeapBase
+#else
class MemoryHeapPmem : public MemoryHeapBase
+#endif
{
public:
class MemoryPmem : public BnMemory {