[Spice-devel] [PATCH xf86-video-qxl] Adjust xspice_wakeup_handler() prototype for building xspice with server 1.19

Hans de Goede hdegoede at redhat.com
Thu Sep 29 11:03:01 UTC 2016


Signed-off-by: Hans de Goede <hdegoede at redhat.com>
---
 src/spiceqxl_main_loop.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/spiceqxl_main_loop.c b/src/spiceqxl_main_loop.c
index db89b6d..0ac1f3e 100644
--- a/src/spiceqxl_main_loop.c
+++ b/src/spiceqxl_main_loop.c
@@ -330,7 +330,11 @@ static int no_write_watches(Ring *w)
     return 1;
 }
 
+#if ABI_VIDEODRV_VERSION >= SET_ABI_VERSION(23, 0)
+static void xspice_wakeup_handler(void *data, int nfds)
+#else
 static void xspice_wakeup_handler(pointer data, int nfds, pointer readmask)
+#endif
 {
     if (!nfds && no_write_watches(&watches)) {
         return;
-- 
2.9.3



More information about the Spice-devel mailing list