fbdev: fix pixman compile on old pixmanppc-for-upstream-1.3
commit6e72719e721a40fe1224701ca10edc1caf0cd708
authorAlexander Graf <agraf@suse.de>
Mon, 26 Nov 2012 18:49:58 +0000 (26 19:49 +0100)
committerAlexander Graf <agraf@suse.de>
Mon, 26 Nov 2012 18:53:26 +0000 (26 19:53 +0100)
tree7ae4e4de96ea285b2e3f738d028c20026e69ba7b
parentc4d88267ae76810420295a1682cf779c49f3ddec
fbdev: fix pixman compile on old pixman

My QEMU compile failed with the following error:

qemu-pixman.c: In function ‘qemu_pixman_get_type’:
qemu-pixman.c:24: error: ‘PIXMAN_TYPE_BGRA’ undeclared (first use in this function)
qemu-pixman.c:24: error: (Each undeclared identifier is reported only once
qemu-pixman.c:24: error: for each function it appears in.)

Guard the PIXMAN_TYPE_BGRA branch like in the case right above the failing
case, so that compilation is fixed. Functionality on such old pixman is a
different question ;-).

Signed-off-by: Alexander Graf <agraf@suse.de>
qemu-pixman.c