summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Mumford <cmumford@chromium.org>2014-12-11 08:02:45 -0800
committerChris Mumford <cmumford@chromium.org>2014-12-11 08:02:45 -0800
commita75d435d1de55530ead02bbd51dd4424bef50330 (patch)
tree1c2cd7a1a3a7e1eff243ce514d72b30960ac84de
parentb234f65b3461f70de493f566bb2ff8bf15d770d1 (diff)
downloadleveldb-a75d435d1de55530ead02bbd51dd4424bef50330.tar.gz
Clean up layering of storage/leveldb/...
With these changes, this package should be properly cleaned up and not require any further changes.
-rw-r--r--db/snapshot.h1
-rw-r--r--db/write_batch_internal.h1
-rw-r--r--table/iterator_wrapper.h3
3 files changed, 5 insertions, 0 deletions
diff --git a/db/snapshot.h b/db/snapshot.h
index e7f8fd2..6ed413c 100644
--- a/db/snapshot.h
+++ b/db/snapshot.h
@@ -5,6 +5,7 @@
#ifndef STORAGE_LEVELDB_DB_SNAPSHOT_H_
#define STORAGE_LEVELDB_DB_SNAPSHOT_H_
+#include "db/dbformat.h"
#include "leveldb/db.h"
namespace leveldb {
diff --git a/db/write_batch_internal.h b/db/write_batch_internal.h
index 310a3c8..9448ef7 100644
--- a/db/write_batch_internal.h
+++ b/db/write_batch_internal.h
@@ -5,6 +5,7 @@
#ifndef STORAGE_LEVELDB_DB_WRITE_BATCH_INTERNAL_H_
#define STORAGE_LEVELDB_DB_WRITE_BATCH_INTERNAL_H_
+#include "db/dbformat.h"
#include "leveldb/write_batch.h"
namespace leveldb {
diff --git a/table/iterator_wrapper.h b/table/iterator_wrapper.h
index 9e16b3d..f410c3f 100644
--- a/table/iterator_wrapper.h
+++ b/table/iterator_wrapper.h
@@ -5,6 +5,9 @@
#ifndef STORAGE_LEVELDB_TABLE_ITERATOR_WRAPPER_H_
#define STORAGE_LEVELDB_TABLE_ITERATOR_WRAPPER_H_
+#include "leveldb/iterator.h"
+#include "leveldb/slice.h"
+
namespace leveldb {
// A internal wrapper class with an interface similar to Iterator that