From 56ffaf254851cc80e6354420e883e66d810dffb2 Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Mon, 27 Jul 2009 16:13:00 +0200 Subject: rename HAVE_FNMATCH_H to CONFIG_FNMATCH Signed-off-by: Juan Quintela Signed-off-by: Anthony Liguori --- acl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'acl.c') diff --git a/acl.c b/acl.c index f69db25c8b..1a11a61d19 100644 --- a/acl.c +++ b/acl.c @@ -27,7 +27,7 @@ #include "sysemu.h" #include "acl.h" -#ifdef HAVE_FNMATCH_H +#ifdef CONFIG_FNMATCH #include #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 -- cgit v1.2.3