X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fcqlstring.c;h=9d4c9b59bc1d3a05e87bf3f967a0a94179dfa1d0;hb=5bc2ee09e4dff0f872ce738a5327bced915e3474;hp=494d3192d74183c9ffb70f8ce536a50307c7d6c7;hpb=379504a233e3e2cc85bca1e7b6d864f1395aec7c;p=yaz-moved-to-github.git diff --git a/src/cqlstring.c b/src/cqlstring.c index 494d319..9d4c9b5 100644 --- a/src/cqlstring.c +++ b/src/cqlstring.c @@ -1,12 +1,14 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2009 Index Data + * Copyright (C) 1995-2012 Index Data * See the file LICENSE for details. */ - /** * \file cqlstring.c * \brief Implements query stream reader that reads from a C string. */ +#if HAVE_CONFIG_H +#include +#endif #include @@ -36,7 +38,7 @@ int cql_parser_string(CQL_parser cp, const char *str) b.str = str; b.off = 0; - + return cql_parser_stream(cp, getbuf, ungetbuf, &b); }