X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=blobdiff_plain;f=test%2Fapi%2Ftest_sort3.c;h=0ced9c235460b1283a895fd583d05f65d9fea379;hb=aeea139423b8eaf28a4de53b3d7b2ad1f22284e7;hp=8e7b9822558bee4911e65b2bd058e555b16b0c03;hpb=a030c87bc444608639905eca95e29f84a4f1d991;p=idzebra-moved-to-github.git diff --git a/test/api/test_sort3.c b/test/api/test_sort3.c index 8e7b982..0ced9c2 100644 --- a/test/api/test_sort3.c +++ b/test/api/test_sort3.c @@ -17,10 +17,13 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -/** \file +/** \file \brief sort using various sortindex types */ +#if HAVE_CONFIG_H +#include +#endif #include #include "testlib.h" @@ -32,7 +35,7 @@ const char *myrec[] = { "\n", /* 3 */ - "\n" + "\n" " My x title\n" " B\n" "\n", @@ -43,7 +46,7 @@ const char *myrec[] = { " A\n" "\n" , 0} ; - + static void tst_sortindex(int argc, char **argv, const char *type) { zint ids[5]; @@ -55,7 +58,7 @@ static void tst_sortindex(int argc, char **argv, const char *type) res_set(res, "sortindex", type); zh = zebra_open(zs, res); - + YAZ_CHECK(tl_init_data(zh, myrec)); if (strcmp(type, "m"))