From: Dr. Matthias St. Pierre Date: Thu, 22 Aug 2019 15:33:38 +0000 (+0200) Subject: Add legacy include guard manually to opensslconf.h.in X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ea8e1fe55b51d9da69977d8dc3f2ffd648d438df;p=openssl Add legacy include guard manually to opensslconf.h.in Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/9333) --- 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 */