]> git.ipfire.org Git - thirdparty/qemu.git/commit
vhost-user: 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, 22 Oct 2015 19:34:59 +0000 (22:34 +0300)
commit7f4a930e64b9e69cd340395a7e4f0494aef4fcdd
tree88942d2a59c64d1fe35fa814277f8e52f4b2a182
parent3c23402d4032f69af44a87fdb8019ad3229a4f31
vhost-user: 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>
hw/virtio/vhost-user.c