diff --git a/include/freerdp/channels/wtsvc.h b/include/freerdp/channels/wtsvc.h index 80898a9b4..227c75fa4 100644 --- a/include/freerdp/channels/wtsvc.h +++ b/include/freerdp/channels/wtsvc.h @@ -46,6 +46,10 @@ typedef enum _WTS_VIRTUAL_CLASS WTSVirtualChannelReady } WTS_VIRTUAL_CLASS; +#ifdef __cplusplus +extern "C" { +#endif + /** * WTSVirtualChannelManager functions are FreeRDP extensions to the API. */ @@ -127,4 +131,8 @@ FREERDP_API BOOL WTSVirtualChannelWrite( FREERDP_API BOOL WTSVirtualChannelClose( /* __in */ void* hChannelHandle); +#ifdef __cplusplus +} +#endif + #endif /* FREERDP_WTSVC_H */