From ae08ed08e49b945d516294106fa185bb136669b2 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Thu, 2 Feb 2023 17:51:26 +0100 Subject: Fix more VMS inclusions inclusing quic/quic_local.h from ssl/ssl_lib.c presented another challenge for the current VMS C. Since ssl/quic/quic_local.h in turn includes ../ssl_local.h, we compensated for with the usual whack-a-mole in Configurations/descrip.mms.tmpl. As far as my personal tests go, this seems to be the last fix of this sort, so far. Reviewed-by: Paul Dale Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/20196) --- Configurations/descrip.mms.tmpl | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'Configurations') diff --git a/Configurations/descrip.mms.tmpl b/Configurations/descrip.mms.tmpl index 85a3c778b7..57834630b9 100644 --- a/Configurations/descrip.mms.tmpl +++ b/Configurations/descrip.mms.tmpl @@ -229,12 +229,18 @@ } foreach (grep /\[\.ssl\].*?\.o$/, keys %{$unified_info{sources}}) { my $obj = platform->obj($_); - # Most of the files in [.ssl.record.methods] include "ssl_local.h" - # which includes things like "record/record.h". Adding "./" as an - # inclusion directory helps making this sort of header from these - # directories. + # Most of the files in [.ssl] include "ssl_local.h" which includes things + # like "record/record.h". Adding "./" as an inclusion directory helps + # making this sort of header from these directories. push @{$unified_info{includes_extra}->{$obj}}, qw(./); } + foreach (grep /\[\.ssl\].*?ssl_lib\.o$/, keys %{$unified_info{sources}}) { + my $obj = platform->obj($_); + # Some files in [.ssl] include "quic/quic_local.h", which in turn + # includes "../ssl_local.h". Adding "./quic" as an inclusion directory + # helps making this sort of header from these directories. + push @{$unified_info{includes_extra}->{$obj}}, qw(./quic); + } foreach (grep /\[\.ssl\.(?:record|statem)\].*?\.o$/, keys %{$unified_info{sources}}) { my $obj = platform->obj($_); # Most of the files in [.ssl.record] and [.ssl.statem] include -- cgit v1.2.3