summaryrefslogtreecommitdiffstats
path: root/crypto/openssl/crypto/cryptlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssl/crypto/cryptlib.h')
-rw-r--r--crypto/openssl/crypto/cryptlib.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/openssl/crypto/cryptlib.h b/crypto/openssl/crypto/cryptlib.h
index e3d3852..5eff5d3 100644
--- a/crypto/openssl/crypto/cryptlib.h
+++ b/crypto/openssl/crypto/cryptlib.h
@@ -62,10 +62,6 @@
#include <stdlib.h>
#include <string.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
-
#include "openssl/e_os.h"
#include <openssl/crypto.h>
@@ -74,6 +70,10 @@ extern "C" {
#include <openssl/err.h>
#include <openssl/opensslconf.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#ifndef VMS
#define X509_CERT_AREA OPENSSLDIR
#define X509_CERT_DIR OPENSSLDIR "/certs"
OpenPOWER on IntegriCloud