diff options
Diffstat (limited to 'common/pixman_utils.h')
-rw-r--r-- | common/pixman_utils.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/common/pixman_utils.h b/common/pixman_utils.h index e15b682..61eaddd 100644 --- a/common/pixman_utils.h +++ b/common/pixman_utils.h @@ -26,6 +26,10 @@ #include "draw.h" +#ifdef __cplusplus +extern "C" { +#endif + /* This lists all possible 2 argument binary raster ops. * This enum has the same values as the X11 GXcopy type * and same as the GL constants (GL_AND etc) if you @@ -125,4 +129,8 @@ void spice_pixman_copy_rect(pixman_image_t *image, int w, int h, int dest_x, int dest_y); +#ifdef __cplusplus +} +#endif + #endif /* _H__PIXMAN_UTILS */ |