From ea8e1fe55b51d9da69977d8dc3f2ffd648d438df Mon Sep 17 00:00:00 2001 From: "Dr. Matthias St. Pierre" Date: Thu, 22 Aug 2019 17:33:38 +0200 Subject: [PATCH] Add legacy include guard manually to opensslconf.h.in Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/9333) --- include/openssl/opensslconf.h.in | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/include/openssl/opensslconf.h.in b/include/openssl/opensslconf.h.in index f31588a0aa..73bda5a81a 100644 --- a/include/openssl/opensslconf.h.in +++ b/include/openssl/opensslconf.h.in @@ -61,9 +61,13 @@ extern "C" { # define RC4_INT {- $config{rc4_int} -} -#include - # ifdef __cplusplus } # endif + +# include +# if !OPENSSL_API_3 +# define HEADER_FILE_H /* deprecated in version 3.0 */ +# endif + #endif /* HEADER_OPENSSLCONF_H */ -- 2.40.0