mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 22:25:25 +00:00
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>
This commit is contained in:
parent
d9e97fd960
commit
5e9ca5508d
@ -32,6 +32,7 @@
|
||||
#include <unistd.h>
|
||||
#include <execinfo.h>
|
||||
#include <regex.h>
|
||||
#include <sys/uio.h>
|
||||
#if HAVE_SYSLOG_H
|
||||
# include <syslog.h>
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user