From 77d19bbe578112208d5d2d093f45c4ad5f65e00a Mon Sep 17 00:00:00 2001 From: Vic Lee Date: Tue, 19 Mar 2013 15:33:01 -0700 Subject: [PATCH] include/wtsvc.h: add missing extern C decl. --- include/freerdp/channels/wtsvc.h | 8 ++++++++ 1 file changed, 8 insertions(+) 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 */