summaryrefslogtreecommitdiff
path: root/app/openssl/crypto/ebcdic.h
diff options
context:
space:
mode:
Diffstat (limited to 'app/openssl/crypto/ebcdic.h')
-rw-r--r--app/openssl/crypto/ebcdic.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/openssl/crypto/ebcdic.h b/app/openssl/crypto/ebcdic.h
index 6d65afcf..85f3cf7f 100644
--- a/app/openssl/crypto/ebcdic.h
+++ b/app/openssl/crypto/ebcdic.h
@@ -5,6 +5,10 @@
#include <sys/types.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* Avoid name clashes with other applications */
#define os_toascii _openssl_os_toascii
#define os_toebcdic _openssl_os_toebcdic
@@ -16,4 +20,7 @@ extern const unsigned char os_toebcdic[256];
void *ebcdic2ascii(void *dest, const void *srce, size_t count);
void *ascii2ebcdic(void *dest, const void *srce, size_t count);
+#ifdef __cplusplus
+}
+#endif
#endif