]> git.ipfire.org Git - thirdparty/libvirt.git/commit
build: don't use gcrypt.h without gnutls support
authorEric Blake <eblake@redhat.com>
Tue, 26 Feb 2013 23:43:03 +0000 (16:43 -0700)
committerEric Blake <eblake@redhat.com>
Tue, 26 Feb 2013 23:43:03 +0000 (16:43 -0700)
commit76f352690a7f9909f328e8873e06fb625ca4baa6
tree8ddd1a17475aab4ee13f81f1ff8b576856026ad0
parentd76f3e06435059ba44da8bc615bbdab9bf620c23
build: don't use gcrypt.h without gnutls support

Eugene Marcotte reported that if gcrypt-devel (a prereq of
gnutls-devel) is not present, then compilation fails due to
an unconditional use of <gcrypt.h>.

* src/libvirt.c (includes): Properly guard use of gcrypt.h.
src/libvirt.c