X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fcqlstring.c;h=3d708ddb6ea2279f2128ff4c3c2eeee092d0c9b9;hp=494d3192d74183c9ffb70f8ce536a50307c7d6c7;hb=176adcd5ec7f2340fb6f0f625a727498db9c04c4;hpb=379504a233e3e2cc85bca1e7b6d864f1395aec7c diff --git a/src/cqlstring.c b/src/cqlstring.c index 494d319..3d708dd 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-2013 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); }