]> git.deb.at Git - pkg/abook.git/blobdiff - filter.c
vformat: fixed a build failure when libvformat is not enabled.
[pkg/abook.git] / filter.c
index fd81174bcf102ed6e10db7d81aecf82303dca8f5..13a02344a915195602db411b89b12d99ca77a9ad 100644 (file)
--- a/filter.c
+++ b/filter.c
@@ -29,7 +29,7 @@
 #include "xmalloc.h"
 #include <assert.h>
 
-#ifdef VFORMAT
+#ifdef HAVE_VFORMAT
 #include "vcard.h"
 #endif
 
@@ -297,7 +297,7 @@ import_file(char filtname[FILTNAME_LEN], char *filename)
        if(i < 0)
                return -1;
 
-#ifdef VFORMAT
+#ifdef HAVE_VFORMAT
        // this is a special case for
        // libvformat whose API expects a filename
        if(!strcmp(filtname, "vcard")) {