Fix header files so that any one can be included first.
Submitted by: Reviewed by: PR:
This commit is contained in:
parent
574e991aa5
commit
0b86eb3ea6
@ -63,6 +63,7 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <openssl/crypto.h>
|
||||
|
||||
/* These are the 'types' of BIOs */
|
||||
|
@ -63,6 +63,10 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef NO_FP_API
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
|
||||
#include <openssl/stack.h>
|
||||
#include <openssl/opensslv.h>
|
||||
|
||||
|
@ -63,6 +63,10 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef NO_FP_API
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
|
||||
/* The following is a bit of a trick to help the object files only contain
|
||||
* the 'name of the file' string once. Since 'err.h' is protected by the
|
||||
* HEADER_ERR_H stuff, this should be included only once per file. */
|
||||
|
@ -67,6 +67,10 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef NO_FP_API
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
|
||||
typedef struct lhash_node_st
|
||||
{
|
||||
char *data;
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
/* crypto/x509/x509.h */
|
||||
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
|
||||
* All rights reserved.
|
||||
|
@ -56,6 +56,12 @@
|
||||
* [including the GNU Public Licence.]
|
||||
*/
|
||||
|
||||
#ifndef HEADER_X509_H
|
||||
#include <openssl/x509.h>
|
||||
/* openssl/x509.h ends up #include-ing this file at about the only
|
||||
* appropriate moment. */
|
||||
#endif
|
||||
|
||||
#ifndef HEADER_X509_VFY_H
|
||||
#define HEADER_X509_VFY_H
|
||||
|
||||
|
@ -60,6 +60,8 @@
|
||||
#define HEADER_SSL3_H
|
||||
|
||||
#include <openssl/buffer.h>
|
||||
#include <openssl/evp.h>
|
||||
#include <openssl/ssl.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
Loading…
x
Reference in New Issue
Block a user