summaryrefslogtreecommitdiffstats
path: root/crypto/conf
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/conf')
-rw-r--r--crypto/conf/conf.h8
-rw-r--r--crypto/conf/conf_api.h6
2 files changed, 7 insertions, 7 deletions
diff --git a/crypto/conf/conf.h b/crypto/conf/conf.h
index 0ec58e1200..56b5f5c216 100644
--- a/crypto/conf/conf.h
+++ b/crypto/conf/conf.h
@@ -59,16 +59,16 @@
#ifndef HEADER_CONF_H
#define HEADER_CONF_H
-#ifdef __cplusplus
-extern "C" {
-#endif
-
#include <openssl/bio.h>
#include <openssl/lhash.h>
#include <openssl/stack.h>
#include <openssl/safestack.h>
#include <openssl/e_os.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef struct
{
char *section;
diff --git a/crypto/conf/conf_api.h b/crypto/conf/conf_api.h
index 05be7d8fb7..a5cc17b233 100644
--- a/crypto/conf/conf_api.h
+++ b/crypto/conf/conf_api.h
@@ -59,13 +59,13 @@
#ifndef HEADER_CONF_API_H
#define HEADER_CONF_API_H
+#include <openssl/lhash.h>
+#include <openssl/conf.h>
+
#ifdef __cplusplus
extern "C" {
#endif
-#include <openssl/lhash.h>
-#include <openssl/conf.h>
-
/* Up until OpenSSL 0.9.5a, this was new_section */
CONF_VALUE *_CONF_new_section(CONF *conf, char *section);
/* Up until OpenSSL 0.9.5a, this was get_section */