]> xenbits.xensource.com Git - libvirt.git/commit
Use sys/uio.h for writev()
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 14 Jun 2017 13:38:01 +0000 (14:38 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 14 Jun 2017 14:01:42 +0000 (15:01 +0100)
commit5e9ca5508d27798b8b90b0dd46553aa927b5788c
tree6f0b4dfc12db5deff5272ccd597142a39b8df9ba
parentd9e97fd96049ed322dcb828701e7303202b4d35a
Use sys/uio.h for writev()

With glibc >= 2.25.90 writev() is only available if you explicitly
include sys/uio.h. This matches the documented requirements, but
older glibc and other *NIX pulled in writev indirectly so the bug
wasn't noticed previously.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/util/virlog.c