summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2021-01-04 13:19:58 +0100
committerTor Egge <Tor.Egge@broadpark.no>2021-01-04 13:20:52 +0100
commit4a29d0dea2e15fd8b1877d9297e7a40275c7861c (patch)
treed6626bf3dcc8eff00304c60ac66829cae5222430
parent2daff17d7e3f7341c8efa4cf9cced09234b17a5e (diff)
Include cstddef header file when needed.
-rw-r--r--document/src/vespa/document/serialization/annotationserializer.h1
-rw-r--r--juniper/src/vespa/juniper/simplemap.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/document/src/vespa/document/serialization/annotationserializer.h b/document/src/vespa/document/serialization/annotationserializer.h
index d8cdd833939..b0a262f6a0e 100644
--- a/document/src/vespa/document/serialization/annotationserializer.h
+++ b/document/src/vespa/document/serialization/annotationserializer.h
@@ -4,6 +4,7 @@
#include <vespa/document/annotation/spantreevisitor.h>
#include <map>
+#include <cstddef>
namespace vespalib { class nbostream; }
diff --git a/juniper/src/vespa/juniper/simplemap.h b/juniper/src/vespa/juniper/simplemap.h
index 2880f7bf53c..10e3dc7295b 100644
--- a/juniper/src/vespa/juniper/simplemap.h
+++ b/juniper/src/vespa/juniper/simplemap.h
@@ -2,6 +2,7 @@
#pragma once
#include <map>
+#include <cstddef>
template<typename _key, typename _val>
class simplemap