summaryrefslogtreecommitdiff
path: root/src/utils/cpp/json.hpp
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-03-26 18:58:55 +0100
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-03-26 18:58:58 +0100
commitfcabff5702fd00d575f1f214bf9b6ced037be53b (patch)
tree8de3d56ba8785c568e3f84bc5d14be29af5d25bb /src/utils/cpp/json.hpp
parent527e5d552b64c00f4af27007c37de5bf8f100c80 (diff)
downloadjustbuild-fcabff5702fd00d575f1f214bf9b6ced037be53b.tar.gz
Add missing system includes
Main culprits: - std::size_t, std::nullptr_t, and NULL require <cstddef> - std::move and std::forward require <utility> - unordered maps and sets require respective includes - std::for_each and std::all_of require <algorithm>
Diffstat (limited to 'src/utils/cpp/json.hpp')
-rw-r--r--src/utils/cpp/json.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utils/cpp/json.hpp b/src/utils/cpp/json.hpp
index d83f30ed..c52b8bd2 100644
--- a/src/utils/cpp/json.hpp
+++ b/src/utils/cpp/json.hpp
@@ -16,6 +16,7 @@
#define INCLUDED_SRC_UTILS_CPP_JSON_HPP
#include <algorithm>
+#include <cstddef>
#include <optional>
#include <sstream>
#include <string>