diff options
author | 2009-07-27 16:13:00 +0200 | |
---|---|---|
committer | 2009-07-27 14:09:20 -0500 | |
commit | 56ffaf254851cc80e6354420e883e66d810dffb2 (patch) | |
tree | ef503785ed16d8171c40cfcd8e8698f6ac0f2add /acl.c | |
parent | rename HAVE_IOVEC to CONFIG_IOVEC (diff) | |
download | qemu-kvm-56ffaf254851cc80e6354420e883e66d810dffb2.tar.gz qemu-kvm-56ffaf254851cc80e6354420e883e66d810dffb2.tar.bz2 qemu-kvm-56ffaf254851cc80e6354420e883e66d810dffb2.zip |
rename HAVE_FNMATCH_H to CONFIG_FNMATCH
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'acl.c')
-rw-r--r-- | acl.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -27,7 +27,7 @@ #include "sysemu.h" #include "acl.h" -#ifdef HAVE_FNMATCH_H +#ifdef CONFIG_FNMATCH #include <fnmatch.h> #endif @@ -79,7 +79,7 @@ int qemu_acl_party_is_allowed(qemu_acl *acl, qemu_acl_entry *entry; TAILQ_FOREACH(entry, &acl->entries, next) { -#ifdef HAVE_FNMATCH_H +#ifdef CONFIG_FNMATCH if (fnmatch(entry->match, party, 0) == 0) return entry->deny ? 0 : 1; #else |