aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>1999-04-24 18:50:40 +0000
committerBodo Möller <bodo@openssl.org>1999-04-24 18:50:40 +0000
commit0b86eb3ea66628997a11bc8588c4695eabd90e62 (patch)
treea40ee99e6abfd400fb4d12864562661a27865b6d
parent574e991aa5a95eabaf2efcb4af8981211c2f7fb2 (diff)
downloadopenssl-0b86eb3ea66628997a11bc8588c4695eabd90e62.tar.gz
Fix header files so that any one can be included first.
Submitted by: Reviewed by: PR:
-rw-r--r--crypto/bio/bio.h1
-rw-r--r--crypto/crypto.h4
-rw-r--r--crypto/err/err.h4
-rw-r--r--crypto/lhash/lhash.h4
-rw-r--r--crypto/x509/x509.h1
-rw-r--r--crypto/x509/x509_vfy.h6
-rw-r--r--ssl/ssl3.h2
7 files changed, 21 insertions, 1 deletions
diff --git a/crypto/bio/bio.h b/crypto/bio/bio.h
index 4f1b3e3e98..1f870909a5 100644
--- a/crypto/bio/bio.h
+++ b/crypto/bio/bio.h
@@ -63,6 +63,7 @@
extern "C" {
#endif
+#include <stdio.h>
#include <openssl/crypto.h>
/* These are the 'types' of BIOs */
diff --git a/crypto/crypto.h b/crypto/crypto.h
index 0b35fc3876..0bf74a1655 100644
--- a/crypto/crypto.h
+++ b/crypto/crypto.h
@@ -63,6 +63,10 @@
extern "C" {
#endif
+#ifndef NO_FP_API
+#include <stdio.h>
+#endif
+
#include <openssl/stack.h>
#include <openssl/opensslv.h>
diff --git a/crypto/err/err.h b/crypto/err/err.h
index 52202942da..617fce7f83 100644
--- a/crypto/err/err.h
+++ b/crypto/err/err.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. */
diff --git a/crypto/lhash/lhash.h b/crypto/lhash/lhash.h
index e97d39ffc5..9b1d5ef058 100644
--- a/crypto/lhash/lhash.h
+++ b/crypto/lhash/lhash.h
@@ -67,6 +67,10 @@
extern "C" {
#endif
+#ifndef NO_FP_API
+#include <stdio.h>
+#endif
+
typedef struct lhash_node_st
{
char *data;
diff --git a/crypto/x509/x509.h b/crypto/x509/x509.h
index 3853ff61a3..0357487c25 100644
--- a/crypto/x509/x509.h
+++ b/crypto/x509/x509.h
@@ -1,4 +1,3 @@
-
/* crypto/x509/x509.h */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
diff --git a/crypto/x509/x509_vfy.h b/crypto/x509/x509_vfy.h
index 41f65f7275..e047637021 100644
--- a/crypto/x509/x509_vfy.h
+++ b/crypto/x509/x509_vfy.h
@@ -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
diff --git a/ssl/ssl3.h b/ssl/ssl3.h
index 23375f16ea..36f135182b 100644
--- a/ssl/ssl3.h
+++ b/ssl/ssl3.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" {