option --with-yazconfig renamed to --with-yaz
[yaz-moved-to-github.git] / util / cql2pqf.c
index 9a11bbc..57575db 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: cql2pqf.c,v 1.3 2004-03-11 09:34:42 adam Exp $
+/* $Id: cql2pqf.c,v 1.5 2004-04-29 21:15:14 adam Exp $
    Copyright (C) 2002-2004
    Index Data Aps
 
@@ -11,6 +11,7 @@ See the file LICENSE.
 #include <stdio.h>
 
 #include <yaz/cql.h>
+#include <yaz/options.h>
 
 static void usage()
 {
@@ -21,7 +22,7 @@ static void usage()
 int main(int argc, char **argv)
 {
     cql_transform_t ct;
-    int r;
+    int r = 0;
     int i, iterations = 1;
     CQL_parser cp = cql_parser_create();
     char *query = 0;