--- qemu-2.6.0/ui/vnc-enc-tight.c~ 2016-05-11 17:56:18.000000000 +0200 +++ qemu-2.6.0/ui/vnc-enc-tight.c 2016-05-12 12:15:06.418186314 +0200 @@ -40,6 +40,8 @@ #include #endif #ifdef CONFIG_VNC_JPEG +#define HAVE_BOOLEAN +#define boolean int #include #endif