]> xenbits.xensource.com Git - qemu-xen.git/commit
qtest: fix vhost-user-test compilation with old GLib
authorNikolay Nikolaev <n.nikolaev@virtualopensystems.com>
Wed, 9 Jul 2014 15:06:32 +0000 (18:06 +0300)
committerKevin Wolf <kwolf@redhat.com>
Mon, 14 Jul 2014 10:03:21 +0000 (12:03 +0200)
commit80504dcaa11097b99842312014f5954a54fe1826
tree50c0803c2568a61403ae1c5cfeed9bf286d3d6a9
parentb8864245b140c801e826de4acf6d6516e2c550b2
qtest: fix vhost-user-test compilation with old GLib

Mising G_TIME_SPAN_SECOND definition breaks the RHEL6 compilation as GLib
version before 2.26 does not have it. In such case just define it.

Reported-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Nikolay Nikolaev <n.nikolaev@virtualopensystems.com>
Tested-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/vhost-user-test.c