diff options
Diffstat (limited to 'common/messages.h')
-rw-r--r-- | common/messages.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/common/messages.h b/common/messages.h index 1a60a9f..6fcd8be 100644 --- a/common/messages.h +++ b/common/messages.h @@ -34,6 +34,10 @@ #include <spice/protocol.h> #include "draw.h" +#ifdef __cplusplus +extern "C" { +#endif + typedef struct SpiceMsgData { uint32_t data_size; uint8_t data[0]; @@ -494,6 +498,8 @@ typedef struct SpiceMsgcTunnelSocketTokens { uint32_t num_tokens; } SpiceMsgcTunnelSocketTokens; -#endif /* _H_SPICE_PROTOCOL */ - +#ifdef __cplusplus +} +#endif +#endif /* _H_SPICE_PROTOCOL */ |