]> git.ipfire.org Git - thirdparty/qemu.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)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 13 Jul 2014 21:42:54 +0000 (00:42 +0300)
commit0e3cd8334aa800b947e2511720a8dcb792f68871
tree63f4ad97737a58fdca13fa69feeab38522e75821
parent75902802c26267b7d1d6948d81c907e2432f0a94
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>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
tests/vhost-user-test.c