]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix a compilation failure if yajl not avail
authorDaniel Veillard <veillard@redhat.com>
Tue, 8 Dec 2009 10:08:17 +0000 (11:08 +0100)
committerDaniel Veillard <veillard@redhat.com>
Tue, 8 Dec 2009 10:08:17 +0000 (11:08 +0100)
commita4e09c1ed81f7361ff03d95ad42eac49d4d60812
treed998778376d9de34f0dd8bcc4222548e6fabaad5
parent1449392dce42dd77da3159d454c1bd295b52c09c
Fix a compilation failure if yajl not avail

configure:     yajl: no
CC     libvirt_util_la-json.lo
util/json.c:32:27: error: yajl/yajl_gen.h: No such file or directory
util/json.c:33:29: error: yajl/yajl_parse.h: No such file or directory

* src/util/json.c: remove the includes if yajl not configured in
src/util/json.c