summaryrefslogtreecommitdiffstats
path: root/crypto/opensslv.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/opensslv.h')
-rw-r--r--crypto/opensslv.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/crypto/opensslv.h b/crypto/opensslv.h
index 5b35cf7a6c..fa0d6eaf14 100644
--- a/crypto/opensslv.h
+++ b/crypto/opensslv.h
@@ -1,6 +1,10 @@
#ifndef HEADER_OPENSSLV_H
#define HEADER_OPENSSLV_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* Numeric release version identifier:
* MNNFFPPS: major minor fix patch status
* The status nibble has one of the values 0 for development, 1 to e for betas
@@ -86,4 +90,7 @@
#define SHLIB_VERSION_NUMBER "1.0.0"
+#ifdef __cplusplus
+}
+#endif
#endif /* HEADER_OPENSSLV_H */