summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@online.no>2023-01-28 21:09:49 +0100
committerTor Egge <Tor.Egge@online.no>2023-01-28 21:09:49 +0100
commit9bbddec3d5f4243053d61e31dac2c98dafa04691 (patch)
treeeb929df89693f9ebf52976e4de1d05d01b998a20
parentdd81671f4a11b081cf7e2b8e9ae0ebd077ea1a77 (diff)
Include cstdint to get declaration of fixed width integer types.
-rw-r--r--document/src/vespa/document/bucket/bucketidfactory.h1
-rw-r--r--document/src/vespa/document/select/result.h1
-rw-r--r--fastos/src/vespa/fastos/file.h1
-rw-r--r--fbench/src/util/clientstatus.h1
-rw-r--r--searchlib/src/tests/postinglistbm/stress_runner.h1
-rw-r--r--searchlib/src/vespa/searchlib/queryeval/test/searchhistory.h1
-rw-r--r--slobrok/src/vespa/slobrok/server/ok_state.h1
-rw-r--r--vdslib/src/vespa/vdslib/container/visitorstatistics.h1
8 files changed, 8 insertions, 0 deletions
diff --git a/document/src/vespa/document/bucket/bucketidfactory.h b/document/src/vespa/document/bucket/bucketidfactory.h
index 019bb1673a3..b91cea61de9 100644
--- a/document/src/vespa/document/bucket/bucketidfactory.h
+++ b/document/src/vespa/document/bucket/bucketidfactory.h
@@ -15,6 +15,7 @@
#pragma once
#include <vespa/document/util/printable.h>
+#include <cstdint>
namespace document {
diff --git a/document/src/vespa/document/select/result.h b/document/src/vespa/document/select/result.h
index 2a4f70c50d9..151b1eb9d3c 100644
--- a/document/src/vespa/document/select/result.h
+++ b/document/src/vespa/document/select/result.h
@@ -19,6 +19,7 @@
#include <vespa/vespalib/util/hdr_abort.h>
#include <vespa/document/util/printable.h>
+#include <cstdint>
namespace document::select {
diff --git a/fastos/src/vespa/fastos/file.h b/fastos/src/vespa/fastos/file.h
index 34b28b7cc31..9821cc138c5 100644
--- a/fastos/src/vespa/fastos/file.h
+++ b/fastos/src/vespa/fastos/file.h
@@ -11,6 +11,7 @@
#pragma once
#include "types.h"
+#include <cstdint>
#include <string>
const int FASTOS_FILE_OPEN_READ = (1<<0);
diff --git a/fbench/src/util/clientstatus.h b/fbench/src/util/clientstatus.h
index 15db42359d8..a6c472b9cba 100644
--- a/fbench/src/util/clientstatus.h
+++ b/fbench/src/util/clientstatus.h
@@ -1,6 +1,7 @@
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
+#include <cstdint>
#include <map>
#include <vector>
#include <string>
diff --git a/searchlib/src/tests/postinglistbm/stress_runner.h b/searchlib/src/tests/postinglistbm/stress_runner.h
index cf80d8b696b..51792320ffc 100644
--- a/searchlib/src/tests/postinglistbm/stress_runner.h
+++ b/searchlib/src/tests/postinglistbm/stress_runner.h
@@ -1,6 +1,7 @@
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
+#include <cstdint>
#include <string>
#include <vector>
diff --git a/searchlib/src/vespa/searchlib/queryeval/test/searchhistory.h b/searchlib/src/vespa/searchlib/queryeval/test/searchhistory.h
index 9b31577cd9c..9d4994e9d36 100644
--- a/searchlib/src/vespa/searchlib/queryeval/test/searchhistory.h
+++ b/searchlib/src/vespa/searchlib/queryeval/test/searchhistory.h
@@ -1,6 +1,7 @@
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
+#include <cstdint>
#include <ostream>
#include <string>
#include <vector>
diff --git a/slobrok/src/vespa/slobrok/server/ok_state.h b/slobrok/src/vespa/slobrok/server/ok_state.h
index a8308a35ac4..0332329edef 100644
--- a/slobrok/src/vespa/slobrok/server/ok_state.h
+++ b/slobrok/src/vespa/slobrok/server/ok_state.h
@@ -1,6 +1,7 @@
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
+#include <cstdint>
#include <string>
namespace slobrok {
diff --git a/vdslib/src/vespa/vdslib/container/visitorstatistics.h b/vdslib/src/vespa/vdslib/container/visitorstatistics.h
index 3f62d7e602b..ac2cce5e296 100644
--- a/vdslib/src/vespa/vdslib/container/visitorstatistics.h
+++ b/vdslib/src/vespa/vdslib/container/visitorstatistics.h
@@ -2,6 +2,7 @@
#pragma once
#include <vespa/document/util/printable.h>
+#include <cstdint>
namespace vdslib {