From: Andrew McDonald Date: Sat, 12 Oct 2002 12:16:16 +0000 (+0000) Subject: Enclose in extern "C" (from Debian bug #163394). X-Git-Tag: gnutls_0_5_x_before_int_fixes~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9abb3fa38894e932b6d87f21db0fec403760774b;p=thirdparty%2Fgnutls.git Enclose in extern "C" (from Debian bug #163394). --- diff --git a/includes/gnutls/openssl.h b/includes/gnutls/openssl.h index e60ee139df..6007818e08 100644 --- a/includes/gnutls/openssl.h +++ b/includes/gnutls/openssl.h @@ -20,6 +20,11 @@ #ifndef GNUTLS_OPENSSL_H #define GNUTLS_OPENSSL_H + +#ifdef __cplusplus +extern "C" { +#endif + #include #include @@ -283,4 +288,8 @@ void RIPEMD160_Update(RIPEMD160_CTX *ctx, const void *buf, int len); void RIPEMD160_Final(unsigned char *md, RIPEMD160_CTX *ctx); unsigned char *RIPEMD160(const unsigned char *buf, unsigned long len, unsigned char *md); + +#ifdef __cplusplus +} +#endif #endif