]> git.ipfire.org Git - thirdparty/libvirt.git/commit
src: only import sys/uio.h when journald is built
authorDaniel P. Berrangé <berrange@redhat.com>
Wed, 22 Jan 2020 11:49:45 +0000 (11:49 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Wed, 29 Jan 2020 14:51:40 +0000 (14:51 +0000)
commit3aab3362f6d92d916bfc8ff3e97a89fbfcfe8329
tree27190fed365f674bea3e4c08cc49c1d237921446
parentff627b472623fe56dcc7677169a5839302bd8abb
src: only import sys/uio.h when journald is built

The sys/uio.h header is only needed when building logging
code with journald support enabled. Conditionally include
it so that we avoid break on platforms which lack this
header.

Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
src/util/virlog.c