X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fcqlstring.c;h=5d66b457b43422e15e34baaf117edf47dcde58b2;hp=762e5fadc356f6aefbaf8bd0147cf7a5d565e204;hb=55b4bc7eb9295ce335fad273d08d82d62ce4b7ea;hpb=88d3bedf772316f87e1996f655ccf8d1e2589755 diff --git a/src/cqlstring.c b/src/cqlstring.c index 762e5fa..5d66b45 100644 --- a/src/cqlstring.c +++ b/src/cqlstring.c @@ -1,12 +1,14 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2010 Index Data + * Copyright (C) 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); }