Make these headers self contained even as they are .inc files. This
approach makes it a lot easier to achieve self contained files and
protects from include reorders. (where the .inc can get above the
dependent headers)
Signed-off-by: Norbert Pocs <norbertp@openssl.org>
Reviewed-by: Saša Nedvědický <sashan@openssl.org>
Reviewed-by: Nikola Pajkovsky <nikolap@openssl.org>
MergeDate: Mon May 18 07:03:48 2026
(Merged from https://github.com/openssl/openssl/pull/31153)
my %ifdefs = ();
print "/* Machine generated by util/perl/OpenSSL/paramnames.pm */\n";
- # Output ettable param array
+ # IWYU
+ print "#include <string.h>\n";
+ print "#include <openssl/params.h>\n";
+ print "#include \"internal/common.h\"\n";
+ print "#include \"prov/proverr.h\"\n";
+ print "\n";
+ # Output gettable param array
printf "#ifndef %s_list\n", $decoder_name_base;
printf "static const OSSL_PARAM %s_list[] = {\n", $decoder_name_base;
for (my $i = 0; $i <= $#params; $i++) {