#include "xmalloc.h"
#include <assert.h>
-#ifdef VFORMAT
+#ifdef HAVE_VFORMAT
#include "vcard.h"
#endif
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")) {