]> git.ipfire.org Git - thirdparty/libvirt.git/commit
securityselinuxhelper.c: Don't try to include xattr.h if not available
authorJohn Ferlan <jferlan@redhat.com>
Mon, 14 Jan 2013 18:45:55 +0000 (13:45 -0500)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 14 Jan 2013 20:00:51 +0000 (21:00 +0100)
commit7ae3f2d53d4a2d3df9e73851560fdf8e6390bc83
tree82f75753cdfbdd46467290700ebff25877ba5831
parent7184af1364d08ff7036557abd5d2c99d1383faa2
securityselinuxhelper.c: Don't try to include xattr.h if not available

Commit 907a39e7 missed adding the WITH_ATTR around #include <attr/xattr.h>
resulting in a build failure:

  CC     libsecurityselinuxhelper_la-securityselinuxhelper.lo
  securityselinuxhelper.c:27:24: fatal error: attr/xattr.h: No such file or directory
  compilation terminated.
  make[2]: *** [libsecurityselinuxhelper_la-securityselinuxhelper.lo] Error 1
  make[2]: Leaving directory `/home/jferlan/libvirt.work/tests'
  make[1]: *** [all-recursive] Error 1
  make[1]: Leaving directory `/home/jferlan/libvirt.work'
  make: *** [all] Error 2
tests/securityselinuxhelper.c