X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=test%2Ftest_wrbuf.c;h=7c27fe5399568372c1a4afdfe5f4663906c9b568;hp=f213561b75f8358e4a27dca3ae5c6aaf27c926c3;hb=3bdd5907fac99ba859596aeb10fd948fd6447750;hpb=dcf6101fd8cf823c366b0703243381e8a0e11d75;ds=sidebyside diff --git a/test/test_wrbuf.c b/test/test_wrbuf.c index f213561..7c27fe5 100644 --- a/test/test_wrbuf.c +++ b/test/test_wrbuf.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2011 Index Data + * Copyright (C) 1995-2013 Index Data * See the file LICENSE for details. */ #if HAVE_CONFIG_H @@ -8,6 +8,7 @@ #include #include +#include #include #include @@ -41,7 +42,7 @@ static void tstwrbuf(void) buf[i] = '\0'; wrbuf_puts(wr, buf); } - + cp = wrbuf_buf(wr); len = wrbuf_len(wr); YAZ_CHECK(len == step * (step-1) / 2);