gpointer definition was not included causing the header to fails to compile if included first. Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx> --- server/video-encoder.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/video-encoder.h b/server/video-encoder.h index 5522818..1b1e169 100644 --- a/server/video-encoder.h +++ b/server/video-encoder.h @@ -79,7 +79,7 @@ struct VideoEncoder { int (*encode_frame)(VideoEncoder *encoder, uint32_t frame_mm_time, const SpiceBitmap *bitmap, const SpiceRect *src, int top_down, - gpointer bitmap_opaque, VideoBuffer** outbuf); + void *bitmap_opaque, VideoBuffer** outbuf); /* * Bit rate control methods. @@ -168,8 +168,8 @@ typedef struct VideoEncoderRateControlCbs { void (*update_client_playback_delay)(void *opaque, uint32_t delay_ms); } VideoEncoderRateControlCbs; -typedef void (*bitmap_ref_t)(gpointer data); -typedef void (*bitmap_unref_t)(gpointer data); +typedef void (*bitmap_ref_t)(void *data); +typedef void (*bitmap_unref_t)(void *data); /* Instantiates the video encoder. * -- 2.7.4 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel