]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virLogDefineOutputs: Fix build without syslog.h
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 14 Oct 2016 02:09:03 +0000 (10:09 +0800)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 14 Oct 2016 02:12:49 +0000 (10:12 +0800)
commita564568f066c78ed250b67105977740b563232bd
tree3d1c0afcf3f93c359c8e789fcb1a75d65392c73c
parentcf9a423cbd06440eb287f2faf2c267253db9e366
virLogDefineOutputs: Fix build without syslog.h

Not every system out there has syslog, that's why we check for it
in our configure script. However, in 640b58abdf while fixing
another issue, some variables and functions are called that are
defined only when syslog.h is present. But these function
calls/variables were not guarded by #ifdef-s.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/util/virlog.c