diff --git a/include/wincred.h b/include/wincred.h index f66af02109a..8f4f1f37407 100644 --- a/include/wincred.h +++ b/include/wincred.h @@ -19,6 +19,10 @@ #ifndef _WINCRED_H_ #define _WINCRED_H_ +#ifdef __cplusplus +extern "C" { +#endif + #ifndef __SECHANDLE_DEFINED__ #define __SECHANDLE_DEFINED__ typedef struct _SecHandle @@ -100,4 +104,8 @@ DWORD WINAPI CredUIStoreSSOCredW(PCWSTR,PCWSTR,PCWSTR,BOOL); DWORD WINAPI CredUIReadSSOCredW(PCWSTR,PWSTR*); /* Note: no CredUIReadSSOCredA in PSDK header */ +#ifdef __cplusplus +} +#endif + #endif /* _WINCRED_H_ */