summaryrefslogtreecommitdiffstats
path: root/common/gdi_canvas.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/gdi_canvas.h')
-rw-r--r--common/gdi_canvas.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/common/gdi_canvas.h b/common/gdi_canvas.h
index b3d4b15e..5cdffb3d 100644
--- a/common/gdi_canvas.h
+++ b/common/gdi_canvas.h
@@ -21,6 +21,10 @@
#include <stdint.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include "pixman_utils.h"
#include "canvas_base.h"
#include "region.h"
@@ -36,4 +40,8 @@ SpiceCanvas *gdi_canvas_create(int width, int height,
void gdi_canvas_init();
+#ifdef __cplusplus
+}
+#endif
+
#endif