registries: iwyu

Made the auto-generated headers and the openbmc registry include what
they use. Also alligned the include style.

Tested: code compiles.

Signed-off-by: Nan Zhou <nanzhoumails@gmail.com>
Change-Id: I6577d5e12bc02da3bd7bf5780f89a4860b314e19
diff --git a/redfish-core/include/registries/base_message_registry.hpp b/redfish-core/include/registries/base_message_registry.hpp
index cf5861e..16c0011 100644
--- a/redfish-core/include/registries/base_message_registry.hpp
+++ b/redfish-core/include/registries/base_message_registry.hpp
@@ -9,7 +9,9 @@
  * should be first pushed to the relevant registry in the DMTF
  * github organization.
  ***************************************************************/
-#include <registries.hpp>
+#include "registries.hpp"
+
+#include <array>
 
 // clang-format off
 
diff --git a/redfish-core/include/registries/openbmc_message_registry.hpp b/redfish-core/include/registries/openbmc_message_registry.hpp
index 4810eb4..77637a5 100644
--- a/redfish-core/include/registries/openbmc_message_registry.hpp
+++ b/redfish-core/include/registries/openbmc_message_registry.hpp
@@ -14,7 +14,10 @@
 // limitations under the License.
 */
 #pragma once
-#include <registries.hpp>
+
+#include "registries.hpp"
+
+#include <array>
 
 /*
     Please read this before making edits to the structure below.
diff --git a/redfish-core/include/registries/privilege_registry.hpp b/redfish-core/include/registries/privilege_registry.hpp
index d42d530..57c9e02 100644
--- a/redfish-core/include/registries/privilege_registry.hpp
+++ b/redfish-core/include/registries/privilege_registry.hpp
@@ -9,7 +9,9 @@
  * should be first pushed to the relevant registry in the DMTF
  * github organization.
  ***************************************************************/
-#include <privileges.hpp>
+#include "privileges.hpp"
+
+#include <array>
 
 // clang-format off
 
diff --git a/redfish-core/include/registries/resource_event_message_registry.hpp b/redfish-core/include/registries/resource_event_message_registry.hpp
index d161882..83ca786 100644
--- a/redfish-core/include/registries/resource_event_message_registry.hpp
+++ b/redfish-core/include/registries/resource_event_message_registry.hpp
@@ -9,7 +9,9 @@
  * should be first pushed to the relevant registry in the DMTF
  * github organization.
  ***************************************************************/
-#include <registries.hpp>
+#include "registries.hpp"
+
+#include <array>
 
 // clang-format off
 
diff --git a/redfish-core/include/registries/task_event_message_registry.hpp b/redfish-core/include/registries/task_event_message_registry.hpp
index 94c74d1..627ef13 100644
--- a/redfish-core/include/registries/task_event_message_registry.hpp
+++ b/redfish-core/include/registries/task_event_message_registry.hpp
@@ -9,7 +9,9 @@
  * should be first pushed to the relevant registry in the DMTF
  * github organization.
  ***************************************************************/
-#include <registries.hpp>
+#include "registries.hpp"
+
+#include <array>
 
 // clang-format off
 
diff --git a/scripts/parse_registries.py b/scripts/parse_registries.py
index 8c300ed..bc54657 100755
--- a/scripts/parse_registries.py
+++ b/scripts/parse_registries.py
@@ -19,7 +19,9 @@
  ***************************************************************/'''
 
 REGISTRY_HEADER = PRAGMA_ONCE + WARNING + '''
-#include <registries.hpp>
+#include "registries.hpp"
+
+#include <array>
 
 // clang-format off
 
@@ -166,7 +168,9 @@
 
 
 PRIVILEGE_HEADER = PRAGMA_ONCE + WARNING + '''
-#include <privileges.hpp>
+#include "privileges.hpp"
+
+#include <array>
 
 // clang-format off