From: Kevin Wasserman Date: Wed, 13 Jun 2012 15:23:31 +0000 (-0400) Subject: C++ safety for leashdll.h X-Git-Tag: kfw-4.0-final~95 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c26e24a41ca722eb55952865fee818c286a4824;p=thirdparty%2Fkrb5.git C++ safety for leashdll.h Signed-off-by: Kevin Wasserman (cherry picked from commit 0101affa062aa34398bd571740d8d84f6bf45d4d) ticket: 7270 status: resolved --- diff --git a/src/windows/leashdll/leashdll.h b/src/windows/leashdll/leashdll.h index 63cfe234f8..b990224da1 100644 --- a/src/windows/leashdll/leashdll.h +++ b/src/windows/leashdll/leashdll.h @@ -2,6 +2,9 @@ #define _LEASHDLL_H_ #include +#ifdef __cplusplus +extern "C" { +#endif #ifndef NO_KRB4 /* * This is a hack needed because the real com_err.h does @@ -262,4 +265,8 @@ extern DECL_FUNC_PTR(LsaCallAuthenticationPackage); extern DECL_FUNC_PTR(LsaFreeReturnBuffer); extern DECL_FUNC_PTR(LsaGetLogonSessionData); +#ifdef __cplusplus +} +#endif + #endif /* _LEASHDLL_H_ */