diff options
author | Tor Egge <Tor.Egge@yahooinc.com> | 2023-09-29 14:47:26 +0200 |
---|---|---|
committer | Tor Egge <Tor.Egge@yahooinc.com> | 2023-09-29 14:47:26 +0200 |
commit | a02e3f90f7885909e078ecff7baa77830f1afbd3 (patch) | |
tree | 7ecdb70f044e04e7731ba25c5345f1c4b2bfdace /vespalib | |
parent | f0862db365dd351f5adc480649f9aba18cbd409d (diff) |
Add missing includes, avoid shadow warning and skip including file not
present in llvm 17.
Issues detected when compiling with clang++ 17 / libc++ 17 / llvm 17.
Diffstat (limited to 'vespalib')
-rw-r--r-- | vespalib/src/vespa/vespalib/datastore/compaction_strategy.h | 3 | ||||
-rw-r--r-- | vespalib/src/vespa/vespalib/fuzzy/table_dfa.hpp | 1 | ||||
-rw-r--r-- | vespalib/src/vespa/vespalib/util/address_space.h | 1 |
3 files changed, 4 insertions, 1 deletions
diff --git a/vespalib/src/vespa/vespalib/datastore/compaction_strategy.h b/vespalib/src/vespa/vespalib/datastore/compaction_strategy.h index dd41ed244ae..d3cdc174339 100644 --- a/vespalib/src/vespa/vespalib/datastore/compaction_strategy.h +++ b/vespalib/src/vespa/vespalib/datastore/compaction_strategy.h @@ -2,8 +2,9 @@ #pragma once -#include <iosfwd> +#include <cstddef> #include <cstdint> +#include <iosfwd> namespace vespalib { diff --git a/vespalib/src/vespa/vespalib/fuzzy/table_dfa.hpp b/vespalib/src/vespa/vespalib/fuzzy/table_dfa.hpp index eebf1f4429d..de850681113 100644 --- a/vespalib/src/vespa/vespalib/fuzzy/table_dfa.hpp +++ b/vespalib/src/vespa/vespalib/fuzzy/table_dfa.hpp @@ -8,6 +8,7 @@ #include <stdexcept> #include <algorithm> #include <map> +#include <ostream> #include <set> #include <queue> diff --git a/vespalib/src/vespa/vespalib/util/address_space.h b/vespalib/src/vespa/vespalib/util/address_space.h index 948217bfd2b..fd172427720 100644 --- a/vespalib/src/vespa/vespalib/util/address_space.h +++ b/vespalib/src/vespa/vespalib/util/address_space.h @@ -2,6 +2,7 @@ #pragma once +#include <cstddef> #include <iosfwd> namespace vespalib { |