diff options
author | David Turner <digit@android.com> | 2010-09-09 17:43:12 +0200 |
---|---|---|
committer | David 'Digit' Turner <digit@android.com> | 2010-09-13 00:30:33 -0700 |
commit | d480e7f0ee7bc26dcf62db2c7afc9a57ba4f5d63 (patch) | |
tree | 1cfd60f1a7b89d932762c8e8d14c825fb3199dda /acl.c | |
parent | 2738c26579c211c46eedf84a4e61c73243551888 (diff) | |
download | external_qemu-d480e7f0ee7bc26dcf62db2c7afc9a57ba4f5d63.zip external_qemu-d480e7f0ee7bc26dcf62db2c7afc9a57ba4f5d63.tar.gz external_qemu-d480e7f0ee7bc26dcf62db2c7afc9a57ba4f5d63.tar.bz2 |
upstream: acl changes.
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; QTAILQ_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 |