summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--redfish-core/include/schemas.hpp1
-rwxr-xr-xscripts/update_schemas.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/redfish-core/include/schemas.hpp b/redfish-core/include/schemas.hpp
index 89027f7f87..9418c1376f 100644
--- a/redfish-core/include/schemas.hpp
+++ b/redfish-core/include/schemas.hpp
@@ -10,6 +10,7 @@
* github organization.
***************************************************************/
// clang-format off
+#include <array>
namespace redfish
{
diff --git a/scripts/update_schemas.py b/scripts/update_schemas.py
index 626c0d10a7..1c888173bd 100755
--- a/scripts/update_schemas.py
+++ b/scripts/update_schemas.py
@@ -379,6 +379,7 @@ with open(os.path.join(cpp_path, "schemas.hpp"), "w") as hpp_file:
"#pragma once\n"
"{WARNING}\n"
"// clang-format off\n"
+ "#include <array>\n"
"\n"
"namespace redfish\n"
"{{\n"