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-Tag: openssl-3.0.0-alpha1~1262 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea8e1fe55b51d9da69977d8dc3f2ffd648d438df;p=thirdparty%2Fopenssl.git 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 f31588a0aa1..73bda5a81ad 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 */