summaryrefslogtreecommitdiffstats
path: root/persistence
diff options
context:
space:
mode:
Diffstat (limited to 'persistence')
-rw-r--r--persistence/src/vespa/persistence/dummyimpl/dummypersistence.cpp4
-rw-r--r--persistence/src/vespa/persistence/spi/bucketinfo.cpp4
-rw-r--r--persistence/src/vespa/persistence/spi/bucketinfo.h5
-rw-r--r--persistence/src/vespa/persistence/spi/result.cpp2
4 files changed, 10 insertions, 5 deletions
diff --git a/persistence/src/vespa/persistence/dummyimpl/dummypersistence.cpp b/persistence/src/vespa/persistence/dummyimpl/dummypersistence.cpp
index 11381e5c004..fcfd8299ac1 100644
--- a/persistence/src/vespa/persistence/dummyimpl/dummypersistence.cpp
+++ b/persistence/src/vespa/persistence/dummyimpl/dummypersistence.cpp
@@ -1,7 +1,5 @@
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-#include <vespa/fastos/fastos.h>
-#include <vespa/log/log.h>
#include <algorithm>
#include <vespa/persistence/dummyimpl/dummypersistence.h>
#include <vespa/document/select/parser.h>
@@ -12,6 +10,8 @@
#include <vespa/vespalib/util/vstringfmt.h>
#include <vespa/document/fieldset/fieldsetrepo.h>
#include <vespa/vespalib/stllike/hash_set.h>
+#include <vespa/vespalib/stllike/asciistream.h>
+#include <vespa/log/log.h>
using std::binary_search;
using std::lower_bound;
diff --git a/persistence/src/vespa/persistence/spi/bucketinfo.cpp b/persistence/src/vespa/persistence/spi/bucketinfo.cpp
index 2a535b79636..55194f427a7 100644
--- a/persistence/src/vespa/persistence/spi/bucketinfo.cpp
+++ b/persistence/src/vespa/persistence/spi/bucketinfo.cpp
@@ -1,7 +1,7 @@
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-#include <vespa/fastos/fastos.h>
-#include <vespa/persistence/spi/bucketinfo.h>
+#include "bucketinfo.h"
+#include <vespa/vespalib/stllike/asciistream.h>
namespace storage {
namespace spi {
diff --git a/persistence/src/vespa/persistence/spi/bucketinfo.h b/persistence/src/vespa/persistence/spi/bucketinfo.h
index d5d2440820a..ad869c0add3 100644
--- a/persistence/src/vespa/persistence/spi/bucketinfo.h
+++ b/persistence/src/vespa/persistence/spi/bucketinfo.h
@@ -7,7 +7,10 @@
#pragma once
#include <persistence/spi/types.h>
-#include <vespa/vespalib/stllike/asciistream.h>
+
+namespace vespalib {
+ class asciistream;
+}
namespace storage {
namespace spi {
diff --git a/persistence/src/vespa/persistence/spi/result.cpp b/persistence/src/vespa/persistence/spi/result.cpp
index 4734a669c6e..4d86fc01212 100644
--- a/persistence/src/vespa/persistence/spi/result.cpp
+++ b/persistence/src/vespa/persistence/spi/result.cpp
@@ -2,6 +2,8 @@
#include "result.h"
#include <vespa/document/fieldvalue/document.h>
+#include <vespa/vespalib/stllike/asciistream.h>
+
namespace storage {