diff options
author | Alastair Tse <liquidx@gentoo.org> | 2004-07-24 04:43:44 +0000 |
---|---|---|
committer | Alastair Tse <liquidx@gentoo.org> | 2004-07-24 04:43:44 +0000 |
commit | 15f24b112aaa4891601aeaecdf8ea411955ea7e1 (patch) | |
tree | 12bbcdf675517b10dfe1318fd93d65cd4296b71a /net-libs/gnutls/files | |
parent | initial ebuild (Manifest recommit) (diff) | |
download | gentoo-2-15f24b112aaa4891601aeaecdf8ea411955ea7e1.tar.gz gentoo-2-15f24b112aaa4891601aeaecdf8ea411955ea7e1.tar.bz2 gentoo-2-15f24b112aaa4891601aeaecdf8ea411955ea7e1.zip |
add extern C headers to extra.h (#51206)
Diffstat (limited to 'net-libs/gnutls/files')
-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..73fe8edb2a37 --- /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 |