glib: Add compat wrapper for g_poll on old glib
commit31e76f65a98e1502cbfd362eed5768c48e264c23
authorAlexander Graf <agraf@suse.de>
Mon, 25 Feb 2013 23:46:10 +0000 (26 00:46 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 26 Feb 2013 19:35:48 +0000 (26 13:35 -0600)
treeda347d0b563afdd537fa649ec62a1423724751cc
parent989b697ddd46769b0999e8cd16b5ecd393204734
glib: Add compat wrapper for g_poll on old glib

Older glib doesn't implement g_poll(). Most notably the glib version in use
on SLE11 is on 2.18 which is hit by this.

We do want to use g_poll() in the source however. So on older systems, just
wrap it with functions that do exist on older versions.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Message-id: 1361835970-2889-1-git-send-email-agraf@suse.de
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
include/qemu-common.h