From b318101ada9ccd2c8b53b8c7a1436e84fc157e04 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Tue, 3 Sep 2024 01:11:19 +0300 Subject: libcamera: ipa: Drop unneded includes from ipa_interface.h The ipa_interface.h file includes a number of headers that are not directly used. Remove them, and add them to the source files that include ipa_interface.h as required. Signed-off-by: Laurent Pinchart Reviewed-by: Milan Zamazal --- .../ipc/generators/libcamera_templates/core_ipa_interface.h.tmpl | 4 ++++ .../ipc/generators/libcamera_templates/module_ipa_interface.h.tmpl | 7 +++++++ 2 files changed, 11 insertions(+) (limited to 'utils/codegen/ipc/generators') diff --git a/utils/codegen/ipc/generators/libcamera_templates/core_ipa_interface.h.tmpl b/utils/codegen/ipc/generators/libcamera_templates/core_ipa_interface.h.tmpl index 590135b8..3942e570 100644 --- a/utils/codegen/ipc/generators/libcamera_templates/core_ipa_interface.h.tmpl +++ b/utils/codegen/ipc/generators/libcamera_templates/core_ipa_interface.h.tmpl @@ -18,6 +18,10 @@ {% if has_string %}#include {% endif %} {% if has_array %}#include {% endif %} +#include +#include +#include + #include namespace libcamera { diff --git a/utils/codegen/ipc/generators/libcamera_templates/module_ipa_interface.h.tmpl b/utils/codegen/ipc/generators/libcamera_templates/module_ipa_interface.h.tmpl index 0111d0c4..5d70ea6a 100644 --- a/utils/codegen/ipc/generators/libcamera_templates/module_ipa_interface.h.tmpl +++ b/utils/codegen/ipc/generators/libcamera_templates/module_ipa_interface.h.tmpl @@ -18,6 +18,13 @@ {% if has_string %}#include {% endif %} {% if has_array %}#include {% endif %} +#include +#include + +#include +#include +#include + #include #include -- cgit v1.2.1