]> git.ipfire.org Git - thirdparty/qemu.git/commit
vhost-user-test: fix up rhel6 build
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 22 Oct 2015 19:28:37 +0000 (22:28 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 29 Oct 2015 09:05:24 +0000 (11:05 +0200)
commit12ebf6908333a86775ef18f12ea283601fd1d2df
treef7601ce2d7176bea9df1e336a9684d7bcab0437a
parent7fc0246c0792767b732c0989e8eba24bea185feb
vhost-user-test: fix up rhel6 build

Build on RHEL6 fails:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42875

Apparently unnamed unions couldn't use C99  named field initializers.
Let's just name the payload union field.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
tests/vhost-user-test.c