diff --git a/winpr/include/winpr/tools/makecert.h b/winpr/include/winpr/tools/makecert.h index e06154a49..41a19a930 100644 --- a/winpr/include/winpr/tools/makecert.h +++ b/winpr/include/winpr/tools/makecert.h @@ -22,6 +22,9 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif typedef struct _MAKECERT_CONTEXT MAKECERT_CONTEXT; @@ -34,4 +37,8 @@ WINPR_API int makecert_context_output_private_key_file(MAKECERT_CONTEXT* context WINPR_API MAKECERT_CONTEXT* makecert_context_new(); WINPR_API void makecert_context_free(MAKECERT_CONTEXT* context); +#ifdef __cplusplus +} +#endif + #endif /* MAKECERT_TOOL_H */