aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcryptobox/base64/base64.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcryptobox/base64/base64.h')
-rw-r--r--src/libcryptobox/base64/base64.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/libcryptobox/base64/base64.h b/src/libcryptobox/base64/base64.h
index e7c639d58..e2be379b5 100644
--- a/src/libcryptobox/base64/base64.h
+++ b/src/libcryptobox/base64/base64.h
@@ -18,6 +18,14 @@
#include "config.h"
-const char* base64_load (void);
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+const char *base64_load (void);
+
+#ifdef __cplusplus
+}
+#endif
#endif /* SRC_LIBCRYPTOBOX_BASE64_BASE64_H_ */