summaryrefslogtreecommitdiffstats
path: root/searchlib/src/apps
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-08-18 03:02:49 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2017-08-18 03:02:49 +0200
commit7a4461355f7ee8e5ec71888516cbfd640dd7e110 (patch)
tree5f800152d48de71247177c4fca93fff24dc993ac /searchlib/src/apps
parent15e7bcd9e902407fbe14cf830968f06c9fb5fb89 (diff)
Include only what you need.
Diffstat (limited to 'searchlib/src/apps')
-rw-r--r--searchlib/src/apps/docstore/benchmarkdatastore.cpp1
-rw-r--r--searchlib/src/apps/uniform/uniform.cpp1
-rw-r--r--searchlib/src/apps/vespa-index-inspect/vespa-index-inspect.cpp3
3 files changed, 3 insertions, 2 deletions
diff --git a/searchlib/src/apps/docstore/benchmarkdatastore.cpp b/searchlib/src/apps/docstore/benchmarkdatastore.cpp
index a1121769557..3dcfbbb31cc 100644
--- a/searchlib/src/apps/docstore/benchmarkdatastore.cpp
+++ b/searchlib/src/apps/docstore/benchmarkdatastore.cpp
@@ -8,6 +8,7 @@
#include <vespa/vespalib/util/threadstackexecutor.h>
#include <vespa/vespalib/data/databuffer.h>
#include <vespa/fastos/app.h>
+#include <unistd.h>
#include <vespa/log/log.h>
LOG_SETUP("documentstore.benchmark");
diff --git a/searchlib/src/apps/uniform/uniform.cpp b/searchlib/src/apps/uniform/uniform.cpp
index a42af9f1ff3..b69c2ddfc56 100644
--- a/searchlib/src/apps/uniform/uniform.cpp
+++ b/searchlib/src/apps/uniform/uniform.cpp
@@ -2,6 +2,7 @@
#include <vespa/fastos/app.h>
#include <vespa/searchlib/bitcompression/compression.h>
+#include <vespa/log/log.h>
static uint64_t
diff --git a/searchlib/src/apps/vespa-index-inspect/vespa-index-inspect.cpp b/searchlib/src/apps/vespa-index-inspect/vespa-index-inspect.cpp
index 4694eb55176..c2fcba379fd 100644
--- a/searchlib/src/apps/vespa-index-inspect/vespa-index-inspect.cpp
+++ b/searchlib/src/apps/vespa-index-inspect/vespa-index-inspect.cpp
@@ -9,13 +9,12 @@
#include <vespa/searchlib/diskindex/docidmapper.h>
#include <vespa/searchlib/diskindex/wordnummapper.h>
#include <vespa/searchlib/diskindex/fieldreader.h>
-#include <vespa/searchlib/index/schemautil.h>
#include <vespa/searchlib/index/dummyfileheadercontext.h>
#include <vespa/searchlib/queryeval/searchiterator.h>
#include <vespa/searchlib/fef/termfieldmatchdata.h>
-#include <vespa/searchlib/fef/termfieldmatchdataarray.h>
#include <vespa/fastos/app.h>
#include <iostream>
+#include <getopt.h>
#include <vespa/log/log.h>
LOG_SETUP("vespa-index-inspect");