summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2005-02-06 16:53:56 +0000
committerSimon Josefsson <simon@josefsson.org>2005-02-06 16:53:56 +0000
commiteeeda36d2b7074937f0aa5d49ef28717a5170599 (patch)
tree59623b7a06a5c174128ccddc340b1b266c766f9f /includes
parentb6d4adfe3f370d339fb99c54470a708bbdb753a5 (diff)
downloadgnutls-eeeda36d2b7074937f0aa5d49ef28717a5170599.tar.gz
Protect for C++, tiny patch from Daniel Black
<dragonheart@gentoo.org>.
Diffstat (limited to 'includes')
-rw-r--r--includes/gnutls/extra.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/includes/gnutls/extra.h b/includes/gnutls/extra.h
index 59bcf1623a..1e915d7d57 100644
--- a/includes/gnutls/extra.h
+++ b/includes/gnutls/extra.h
@@ -31,6 +31,10 @@
#include <gnutls/gnutls.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define LIBGNUTLS_EXTRA_VERSION LIBGNUTLS_VERSION
/* Openpgp certificate stuff
@@ -81,4 +85,7 @@ int gnutls_global_init_extra(void);
*/
const char* gnutls_extra_check_version( const char *req_version);
+#ifdef __cplusplus
+}
+#endif
#endif