aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/cryptlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/cryptlib.h')
-rw-r--r--crypto/cryptlib.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/cryptlib.h b/crypto/cryptlib.h
index 5eff5d31412..e3d38524ae9 100644
--- a/crypto/cryptlib.h
+++ b/crypto/cryptlib.h
@@ -62,6 +62,10 @@
#include <stdlib.h>
#include <string.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include "openssl/e_os.h"
#include <openssl/crypto.h>
@@ -70,10 +74,6 @@
#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"