diff options
Diffstat (limited to 'net-libs/gnutls/files/gnutls-1.0.14-extra.h.patch')
-rw-r--r-- | net-libs/gnutls/files/gnutls-1.0.14-extra.h.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/net-libs/gnutls/files/gnutls-1.0.14-extra.h.patch b/net-libs/gnutls/files/gnutls-1.0.14-extra.h.patch new file mode 100644 index 000000000000..ea041017cde2 --- /dev/null +++ b/net-libs/gnutls/files/gnutls-1.0.14-extra.h.patch @@ -0,0 +1,23 @@ +--- includes/gnutls/extra.h 2004-03-25 04:43:49.000000000 -0500 ++++ includes/gnutls/extra.h.new 2004-07-24 00:31:11.716460832 -0400 +@@ -27,6 +27,10 @@ + + #define LIBGNUTLS_EXTRA_VERSION LIBGNUTLS_VERSION + ++#ifdef __cplusplus ++extern "C" { ++#endif ++ + /* SRP */ + + typedef struct DSTRUCT* gnutls_srp_server_credentials; +@@ -119,5 +123,9 @@ + int gnutls_srp_base64_decode_alloc( const gnutls_datum *b64_data, + gnutls_datum* result); + ++#ifdef __cplusplus ++} ++#endif ++ + + #endif |