diff options
author | Simon Josefsson <simon@josefsson.org> | 2005-02-06 16:53:56 +0000 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2005-02-06 16:53:56 +0000 |
commit | eeeda36d2b7074937f0aa5d49ef28717a5170599 (patch) | |
tree | 59623b7a06a5c174128ccddc340b1b266c766f9f /includes | |
parent | b6d4adfe3f370d339fb99c54470a708bbdb753a5 (diff) | |
download | gnutls-eeeda36d2b7074937f0aa5d49ef28717a5170599.tar.gz |
Protect for C++, tiny patch from Daniel Black
<dragonheart@gentoo.org>.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/gnutls/extra.h | 7 |
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 |