Update some inclusions of <openssl/macros.h>

Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10364)
This commit is contained in:
Richard Levitte 2019-11-05 17:36:44 +01:00
parent 9fd9951e4b
commit 285a0db396
2 changed files with 7 additions and 5 deletions

View File

@ -13,11 +13,6 @@
# define OPENSSL_OPENSSLV_H
# pragma once
# include <openssl/macros.h>
# if !OPENSSL_API_3
# define HEADER_OPENSSLV_H
# endif
# ifdef __cplusplus
extern "C" {
# endif
@ -138,4 +133,10 @@ _____
# ifdef __cplusplus
}
# endif
# include <openssl/macros.h>
# ifndef OPENSSL_NO_DEPRECATED_3_0
# define HEADER_OPENSSLV_H
# endif
#endif /* OPENSSL_OPENSSLV_H */

View File

@ -8,6 +8,7 @@
*/
#include <stdio.h>
#include <openssl/macros.h>
#include <openssl/objects.h>
#include "ssl_local.h"