diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-08-23 22:51:31 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2017-08-23 22:51:31 +0200 |
commit | be27e02909429150076fc5e2a1cc0d5ded724092 (patch) | |
tree | e41da976443fe6500eab2d7461883decbd88418c /searchcore | |
parent | 56161cebe83946590446db673dc40927a369da33 (diff) |
Include what you need yourself.
Diffstat (limited to 'searchcore')
3 files changed, 6 insertions, 2 deletions
diff --git a/searchcore/src/apps/tests/persistenceconformance_test.cpp b/searchcore/src/apps/tests/persistenceconformance_test.cpp index d52e491709c..b642dc77919 100644 --- a/searchcore/src/apps/tests/persistenceconformance_test.cpp +++ b/searchcore/src/apps/tests/persistenceconformance_test.cpp @@ -1,7 +1,5 @@ // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -#include <vespa/log/log.h> -LOG_SETUP("persistenceconformance_test"); #include <vespa/vespalib/testkit/testapp.h> #include <vespa/config-imported-fields.h> @@ -27,7 +25,10 @@ LOG_SETUP("persistenceconformance_test"); #include <tests/proton/common/dummydbowner.h> #include <vespa/vespalib/io/fileutil.h> #include <vespa/searchcore/proton/common/hw_info.h> +#include <vespa/fastos/file.h> +#include <vespa/log/log.h> +LOG_SETUP("persistenceconformance_test"); using namespace config; using namespace proton; diff --git a/searchcore/src/tests/proton/documentdb/documentdb_test.cpp b/searchcore/src/tests/proton/documentdb/documentdb_test.cpp index 2a5dfff372a..483e725927d 100644 --- a/searchcore/src/tests/proton/documentdb/documentdb_test.cpp +++ b/searchcore/src/tests/proton/documentdb/documentdb_test.cpp @@ -27,6 +27,8 @@ #include <vespa/document/datatype/documenttype.h> #include <vespa/vespalib/data/slime/slime.h> #include <vespa/vespalib/testkit/test_kit.h> +#include <vespa/fastos/file.h> + using document::DocumentType; using document::DocumentTypeRepo; diff --git a/searchcore/src/vespa/searchcore/proton/server/proton.cpp b/searchcore/src/vespa/searchcore/proton/server/proton.cpp index a5b0cfd1d53..ed350453da2 100644 --- a/searchcore/src/vespa/searchcore/proton/server/proton.cpp +++ b/searchcore/src/vespa/searchcore/proton/server/proton.cpp @@ -26,6 +26,7 @@ #include <vespa/vespalib/util/closuretask.h> #include <vespa/vespalib/util/host_name.h> #include <vespa/vespalib/util/random.h> +#include <dirent.h> #include <vespa/searchlib/aggregation/forcelink.hpp> #include <vespa/searchlib/expression/forcelink.hpp> |