[libvirt] [PATCH] virLogDefineOutputs: Fix build without syslog.h

Michal Privoznik mprivozn at redhat.com
Fri Oct 14 02:24:12 UTC 2016


On 14.10.2016 10:22, John Ferlan wrote:
> 
> 
> On 10/13/2016 10:12 PM, Michal Privoznik wrote:
>> 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 at redhat.com>
>> ---
>>
>> Pushed under build breaker rule.
>>
>>  src/util/virlog.c | 15 +++++++++------
>>  1 file changed, 9 insertions(+), 6 deletions(-)
>>
> 
> FYI: There was a patch on list from Eric:
> 
> http://www.redhat.com/archives/libvir-list/2016-October/msg00397.html

D'oh! I'm sorry. For some reason I didn't check the list before starting
to work on this. I could come up with some lousy excuse (like morning
coffee hasn't kicked in yet), but next time I'll check.

Michal




More information about the libvir-list mailing list